Skip to content

Commit

Permalink
fix: don't preserve dynamic import() expression in cjs bundle. Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Aug 3, 2023
1 parent 00d3470 commit 08209ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const SHARED_OUTPUT_OPTIONS = {
file: pkg.exports.require,
format: "cjs",
exports: "default",
dynamicImportInCjs: false,
...SHARED_OUTPUT_OPTIONS
},
{
Expand Down

0 comments on commit 08209ae

Please sign in to comment.