Skip to content

Commit

Permalink
Use interop: 'auto' in the Rollup build (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist authored Jul 4, 2024
1 parent b803eea commit cfb419b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/pkg-build/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ async function buildPkg(pkg: Package, packagesByName: Map<string, Package>) {
await bundle.write({
dir: `${pkg.dir}/dist`,
format: "cjs",
interop: "auto",
exports: "named",
preserveModules: true,
preserveModulesRoot: `${pkg.dir}/src`,
Expand Down

0 comments on commit cfb419b

Please sign in to comment.