fix build
This commit is contained in:
parent
80febfe73a
commit
0531934422
1 changed files with 6 additions and 6 deletions
|
@ -46,10 +46,10 @@ export default defineConfig(({ command, mode }) => {
|
|||
|
||||
build: {
|
||||
target: [
|
||||
'chrome100',
|
||||
'firefox100',
|
||||
'safari15',
|
||||
'es2021', // TODO: keep this up to date
|
||||
'chrome108',
|
||||
'firefox109',
|
||||
'safari16',
|
||||
'es2022',
|
||||
],
|
||||
manifest: 'manifest.json',
|
||||
rollupOptions: {
|
||||
|
@ -67,11 +67,11 @@ export default defineConfig(({ command, mode }) => {
|
|||
outDir: __dirname + '/../../built/_client_dist_',
|
||||
assetsDir: '.',
|
||||
emptyOutDir: false,
|
||||
sourcemap: process.env.NODE_ENV !== 'production',
|
||||
sourcemap: process.env.NODE_ENV === 'development',
|
||||
reportCompressedSize: false,
|
||||
},
|
||||
optimizeDeps: {
|
||||
auto: true
|
||||
auto: true,
|
||||
},
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue