mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-18 04:20:51 +03:00
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:
parent
60a3ee78b8
commit
65abf6165a
|
@ -20,7 +20,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new BundleTracker({
|
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' }),
|
new MiniCssExtractPlugin({ filename: 'css/[name].[contenthash].css' }),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user