Skip to content

Commit

Permalink
Merge pull request #3662 from nextcloud/backport/3661/stable5.4
Browse files Browse the repository at this point in the history
[stable5.4] fix: bundle moment.js locale data
  • Loading branch information
st3iny authored Oct 17, 2023
2 parents 6d8494d + 5891ba1 commit 3040b81
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 3040b81

Please sign in to comment.