From bcf0f33a812d364476f92fdb8ad00fd660eeccde Mon Sep 17 00:00:00 2001 From: Alexander Harding Date: Fri, 22 Nov 2024 23:31:55 -0600 Subject: [PATCH] cleanup --- vite.config.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index a3e62b876b..6bdbbc446a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,15 +10,6 @@ import { defineConfig } from "vitest/config"; import compilerOptions from "./compilerOptions.js"; import manifest from "./manifest.json"; -const IGNORED_ROLLUP_WARNINGS = [ - // https://github.com/Anber/wyw-in-js/issues/62 - "contains an annotation that Rollup cannot interpret due to the position of the comment", - "The comment will be removed to avoid issues.", - - // https://github.com/vitejs/vite/blob/fe30349d350ef08bccd56404ccc3e6d6e0a2e156/packages/vite/rollup.config.ts#L71 - "Circular dependency", -]; - // https://vitejs.dev/config/ export default defineConfig({ plugins: [ @@ -71,13 +62,6 @@ export default defineConfig({ cssMinify: "lightningcss", chunkSizeWarningLimit: 5_000, rollupOptions: { - onwarn: (log, handler) => { - for (const msg in IGNORED_ROLLUP_WARNINGS) { - if (log.message.includes(msg)) return; - } - - handler(log); - }, output: { manualChunks: () => "index.js",