chore: temporarily suppress dynamic import warning
This commit is contained in:
parent
8ce1c7ab6e
commit
9a3119cab4
|
@ -83,6 +83,17 @@ export default defineConfig({
|
|||
],
|
||||
},
|
||||
vite: {
|
||||
build: {
|
||||
rollupOptions: {
|
||||
onwarn(warning, warn) {
|
||||
// temporarily suppress this warning
|
||||
if (warning.message.includes("is dynamically imported by") && warning.message.includes("but also statically imported by")) {
|
||||
return;
|
||||
}
|
||||
warn(warning);
|
||||
}
|
||||
}
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
stylus: {
|
||||
|
|
Loading…
Reference in New Issue