summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2023-10-16 16:30:06 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-10-16 14:59:51 +0000
commit5891ba1d0fb6f29a76dccaa173f904f5077ae97c (patch)
treeb499c3a15bdb7bd6dfaaf7c2a00660a775dc1e9c
parent6d8494d61e328f117c466473a51992d263bb50b4 (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?$/,