Skip to content

Commit

Permalink
Add element polyfills to plugin exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
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
Expand Up @@ -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
Expand Down

0 comments on commit aed4265

Please sign in to comment.