build: Configure Vite to serve on localhost:5173
This commit is contained in:
1 parent
18756345dc
commit
57e8fc8659
2 files changed
+9
-12
No files matched your search
+5
-10
@@ -1,13 +1,8 @@
|
||||
import { resolve } from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
login: resolve(__dirname, 'login.html'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 5173,
|
||||
host: 'localhost',
|
||||
},
|
||||
})
|
||||
});
|
||||
Reference in new issue
Block a user