chore: Update vite.config.ts
All checks were successful
CI / cache-and-install (push) Successful in 1m30s
All checks were successful
CI / cache-and-install (push) Successful in 1m30s
This commit is contained in:
@ -40,6 +40,7 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
sourcemap: mode !== 'production' || env.VITE_SOURCE_MAP === 'true',
|
sourcemap: mode !== 'production' || env.VITE_SOURCE_MAP === 'true',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
onwarn: (warning, warn) => {
|
onwarn: (warning, warn) => {
|
||||||
|
if (warning.code === 'EMPTY_BUNDLE') return;
|
||||||
if (warning.code === 'EVAL' && warning.message.includes('node_modules/.pnpm/eruda')) return;
|
if (warning.code === 'EVAL' && warning.message.includes('node_modules/.pnpm/eruda')) return;
|
||||||
warn(warning);
|
warn(warning);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user