Skip to content

Commit

Permalink
feat(cli): setup ignore webpack plugin for moment.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mediremi authored and KaiVandivier committed Aug 23, 2022
1 parent 5d8f374 commit 223b191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/lib/plugin/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ module.exports = ({ env: webpackEnv, paths }) => {
NODE_ENV: JSON.stringify(webpackEnv),
},
}),
],
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
].filter(Boolean),
module: {
rules: [
{
Expand Down

0 comments on commit 223b191

Please sign in to comment.