Skip to content

Commit 8d165af

Browse files
Create vite.config.js
1 parent c89aed4 commit 8d165af

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

admin-js/vite.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export default defineConfig({
2+
server: {
3+
cors: {
4+
// the origin you will be accessing via browser
5+
origin: "http://localhost",
6+
},
7+
},
8+
build: {
9+
manifest: true,
10+
rollupOptions: {
11+
input: "src/index.js",
12+
},
13+
},
14+
})

0 commit comments

Comments
 (0)