diff --git a/rollup.config.js b/rollup.config.js index 1e9025f..7c83898 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,9 +8,7 @@ import pkg from "./package.json"; const esModules = ["gzip-size"]; /** @type {string[]} */ -const external = Object.keys(pkg.dependencies).filter( - ext => ext === esModules.includes("gzip-size"), -); +const external = Object.keys(pkg.dependencies).filter(ext => !esModules.includes(ext)); export default defineConfig({ input: "src/index.ts",