Skip to content

Commit 956f7ec

Browse files
Merge pull request #5722 from nextcloud/chore/fix-moment-locale-warning
chore: fix npm build warning about moment locales
2 parents 3f2c23c + 1dad832 commit 956f7ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

webpack.config.js

-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ webpackRules.RULE_SCSS.use = [
4545
]
4646

4747
webpackConfig.plugins.push(
48-
new webpack.IgnorePlugin({
49-
resourceRegExp: /^\.\/locale$/,
50-
contextRegExp: /moment$/,
51-
}),
5248
new webpack.ProvidePlugin({
5349
// Shim ICAL to prevent using the global object (window.ICAL).
5450
// The library ical.js heavily depends on instanceof checks which will

0 commit comments

Comments
 (0)