mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-12 07:12:52 +01:00
chore: temporarily suppress dynamic import warning
This commit is contained in:
@@ -83,6 +83,17 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
vite: {
|
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: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
stylus: {
|
stylus: {
|
||||||
|
|||||||
Reference in New Issue
Block a user