From 06d82a4925b2832904495abd2fd04c6bbab81f6a Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Wed, 12 Jun 2024 14:45:57 -0400 Subject: [PATCH] Do not inject Intl polyfill into ecma402-abstract package (#21074) --- build-scripts/bundle.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/bundle.cjs b/build-scripts/bundle.cjs index 430110936f..df95d10d22 100644 --- a/build-scripts/bundle.cjs +++ b/build-scripts/bundle.cjs @@ -157,7 +157,7 @@ module.exports.babelOptions = ({ latestBuild, isProdBuild, isTestBuild }) => ({ exclude: [ path.join(paths.polymer_dir, "src/resources/polyfills"), ...[ - "@formatjs/intl-\\w+", + "@formatjs/(?:ecma402-abstract|intl-\\w+)", "@lit-labs/virtualizer/polyfills", "@webcomponents/scoped-custom-element-registry", "element-internals-polyfill",