diff --git a/tsup.config.ts b/tsup.config.ts index 0df056e..624db89 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -13,7 +13,7 @@ export default defineConfig([ }, clean: true, platform: "browser", - noExternal: [], + noExternal: ["brotli", "buffer", "events"], treeshake: "smallest", external: ["undici"], }, @@ -26,7 +26,7 @@ export default defineConfig([ outDir: "dist/min", dts: false, sourcemap: true, - noExternal: [], + noExternal: ["brotli", "buffer", "events"], treeshake: "smallest", minify: "terser", platform: "browser",