Last active
October 4, 2023 09:43
-
-
Save zguillez/0fee7d369515f6e984f0c5b7e3c7c53f to your computer and use it in GitHub Desktop.
solidjs-build-no-chunks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {defineConfig} from 'vite'; | |
import solid from 'vite-plugin-solid'; | |
export default defineConfig({ | |
plugins: [solid()], | |
build: { | |
target: 'esnext', | |
rollupOptions: { | |
output: { | |
entryFileNames: 'app.js', | |
chunkFileNames: 'assets/[name].js', | |
assetFileNames: 'assets/[name].[ext]' | |
}, | |
}, | |
minify: true, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment