mirror of https://github.com/nextcloud/calendar
Merge pull request #5722 from nextcloud/chore/fix-moment-locale-warning
chore: fix npm build warning about moment locales
This commit is contained in:
commit
956f7ec04b
|
@ -45,10 +45,6 @@ webpackRules.RULE_SCSS.use = [
|
|||
]
|
||||
|
||||
webpackConfig.plugins.push(
|
||||
new webpack.IgnorePlugin({
|
||||
resourceRegExp: /^\.\/locale$/,
|
||||
contextRegExp: /moment$/,
|
||||
}),
|
||||
new webpack.ProvidePlugin({
|
||||
// Shim ICAL to prevent using the global object (window.ICAL).
|
||||
// The library ical.js heavily depends on instanceof checks which will
|
||||
|
|
Loading…
Reference in New Issue