Fix compatibility webpack-bundle-tracker>=2.0.0 js library (#4350)

required after upgrade django-webpack-loader to >=2.0.0
This commit is contained in:
Fábio C. Barrionuevo da Luz 2023-05-23 12:57:52 -03:00 committed by GitHub
parent 60a3ee78b8
commit 65abf6165a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,8 @@ module.exports = {
},
plugins: [
new BundleTracker({
filename: path.resolve(__dirname, '../webpack-stats.json'),
path: path.resolve(path.join(__dirname, '../')),
filename: 'webpack-stats.json',
}),
new MiniCssExtractPlugin({ filename: 'css/[name].[contenthash].css' }),
],