From 9fb1d09b20a6b702da000431b44ededce9a1f35a Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Mon, 16 Oct 2023 16:30:06 +0200 Subject: [PATCH] fix: bundle moment.js locale data Signed-off-by: Richard Steinmetz --- webpack.config.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index b1b34c3b5..dc9726b35 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?$/,