diff --git a/astro.config.mjs b/astro.config.mjs index 3310ed3..535d44f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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: {