Skip to content

Commit

Permalink
fix(rollup): update importAttributesKey to with
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 4, 2024
1 parent 27b89f5 commit 27bcba8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ async function _build(
cjsBridge: false,
inlineDependencies: false,
preserveDynamicImports: true,
output: {
// https://v8.dev/features/import-attributes
importAttributesKey: "with",
},
// Plugins
replace: {
preventAssignment: true,
Expand Down

0 comments on commit 27bcba8

Please sign in to comment.