fix build
This commit is contained in:
parent
a0a3b128b6
commit
5948b2b74c
|
@ -46,10 +46,10 @@ export default defineConfig(({ command, mode }) => {
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
target: [
|
target: [
|
||||||
'chrome100',
|
'chrome108',
|
||||||
'firefox100',
|
'firefox109',
|
||||||
'safari15',
|
'safari16',
|
||||||
'es2021', // TODO: keep this up to date
|
'es2022',
|
||||||
],
|
],
|
||||||
manifest: 'manifest.json',
|
manifest: 'manifest.json',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
|
@ -67,11 +67,11 @@ export default defineConfig(({ command, mode }) => {
|
||||||
outDir: __dirname + '/../../built/_client_dist_',
|
outDir: __dirname + '/../../built/_client_dist_',
|
||||||
assetsDir: '.',
|
assetsDir: '.',
|
||||||
emptyOutDir: false,
|
emptyOutDir: false,
|
||||||
sourcemap: process.env.NODE_ENV !== 'production',
|
sourcemap: process.env.NODE_ENV === 'development',
|
||||||
reportCompressedSize: false,
|
reportCompressedSize: false,
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
auto: true
|
auto: true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue