Skip to content

Commit

Permalink
Remove legacy version of Intl polyfills with static imports
Browse files Browse the repository at this point in the history
  • Loading branch information
steverep committed Dec 31, 2023
1 parent 6cc9a99 commit c28c9e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
11 changes: 0 additions & 11 deletions build-scripts/webpack.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,6 @@ const createWebpackConfig = ({
),
path.resolve(paths.polymer_dir, "src/util/empty.js")
),
// See `src/resources/intl-polyfill-legacy.ts` for explanation
!latestBuild &&
new webpack.NormalModuleReplacementPlugin(
new RegExp(
path.resolve(paths.polymer_dir, "src/resources/intl-polyfill.ts")
),
path.resolve(
paths.polymer_dir,
"src/resources/intl-polyfill-legacy.ts"
)
),
!isProdBuild && new LogStartCompilePlugin(),
isProdBuild &&
new StatsWriterPlugin({
Expand Down
19 changes: 0 additions & 19 deletions src/resources/intl-polyfill-legacy.ts

This file was deleted.

0 comments on commit c28c9e9

Please sign in to comment.