summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2023-10-16 16:30:06 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2023-10-16 16:30:06 +0200
commit9fb1d09b20a6b702da000431b44ededce9a1f35a (patch)
tree78b452e61ed386df80012ce0fe799534bfb6d968
parentc40864d80cbe79bfdfdf075783215053a755dd33 (diff)
fix: bundle moment.js locale data
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r--webpack.config.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/webpack.config.js b/webpack.config.js
index b1b34c3b..dc9726b3 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,15 +1,8 @@
const path = require('path')
-const webpack = require('webpack')
const webpackConfig = require('@nextcloud/webpack-vue-config')
webpackConfig.entry['files-action'] = path.join(__dirname, 'src', 'files-action.js')
webpackConfig.entry['admin-settings'] = path.join(__dirname, 'src', 'admin-settings.js')
-webpackConfig.plugins.push(...[
- new webpack.IgnorePlugin({
- resourceRegExp: /^\.\/locale$/,
- contextRegExp: /moment$/,
- }),
-])
webpackConfig.module.rules.push({
test: /\.tsx?$/,