Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add element polyfills to plugin exclusions
Browse files Browse the repository at this point in the history
steverep committed May 3, 2024
1 parent ce2b52e commit aed4265
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-scripts/bundle.cjs
Original file line number Diff line number Diff line change
@@ -154,7 +154,10 @@ module.exports.babelOptions = ({ latestBuild, isProdBuild, isTestBuild }) => ({
{ method: "usage-global" },
],
],
exclude: /\/node_modules\/(?:unfetch|proxy-polyfill)\//,
exclude: [
/\/src\/resources\/polyfills\//,
/\/node_modules\/(?:unfetch|proxy-polyfill)\//,
],
},
{
// Use unambiguous for dependencies so that require() is correctly injected into CommonJS files

0 comments on commit aed4265

Please sign in to comment.