🐞 fix vite config for production system

ref #108
This commit is contained in:
Philipp Dormann 2021-04-02 21:07:16 +02:00
parent 5352410d0c
commit 10a011d842

View File

@ -17,7 +17,7 @@ const indexReplace = () => {
export default defineConfig(({ command, mode }) => { export default defineConfig(({ command, mode }) => {
const isProduction = mode === 'production'; const isProduction = mode === 'production';
return { return {
base: './', // base: './',
build: { build: {
polyfillDynamicImport: false, polyfillDynamicImport: false,
cssCodeSplit: false, cssCodeSplit: false,