Skip to content

Commit

Permalink
fix: bundle moment.js locale data
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny authored and backportbot-nextcloud[bot] committed Oct 16, 2023
1 parent 6d8494d commit 5891ba1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -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?$/,
Expand Down

0 comments on commit 5891ba1

Please sign in to comment.