Skip to content

Commit

Permalink
Alter the configuration around externals and default exports (#185)
Browse files Browse the repository at this point in the history
Preferred default export mode is not required anymore, and this plays
nicely with other TS libraries.

Refs #182
  • Loading branch information
agjohnson authored Nov 14, 2023
1 parent 8490790 commit 7f1cbc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export default {
rollupAdapter(rollupLitCss()),
pluginCommonjs({
include: "node_modules/**",
requireReturnsDefault: "preferred",
esmExternals: true,
defaultIsModuleExports: true,
requireReturnsDefault: true,
}),
],
};

0 comments on commit 7f1cbc3

Please sign in to comment.