Skip to content
Snippets Groups Projects
Commit b38eef0b authored by Midhun Suresh's avatar Midhun Suresh
Browse files

Do a multi-page vite build

parent f2f624f2
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,5 @@ node_modules
.DS_Store
dist
dist-ssr
build
target
*.local
......@@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"start": "vite",
"build": "tsc && vite build && vite --config parent-vite.config.js build",
"build": "tsc && vite build",
"preview": "vite preview"
},
"devDependencies": {
......
......@@ -6,10 +6,10 @@ module.exports = defineConfig({
rollupOptions: {
input: {
main: resolve(__dirname, 'chatterbox.html'),
parent: resolve(__dirname, '/src/parent-style.css')
parent: resolve(__dirname, 'index.html')
}
},
outDir: "./build/chatterbox"
outDir: "./target"
},
server: {
fs: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment