8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 09:26:27 +00:00

No need to log webpack stats

This commit is contained in:
Alexandre Iooss 2020-04-22 11:37:08 +02:00
parent 8f7ecef843
commit dfddaa1d2b
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
2 changed files with 1 additions and 12 deletions

View file

@ -20,8 +20,7 @@
"eslint-plugin-vue": "^6.2.2",
"sass": "^1.26.3",
"sass-loader": "^8.0.2",
"vue-template-compiler": "^2.6.11",
"webpack-bundle-tracker": "^1.0.0-alpha.1"
"vue-template-compiler": "^2.6.11"
},
"babel": {
"presets": [

View file

@ -7,17 +7,7 @@
* the HelloWorld component.
*/
const BundleTracker = require("webpack-bundle-tracker");
module.exports = {
// Output to Django statics
outputDir: './static/bundles/',
// Customize Webpack
chainWebpack: config => {
// Create file for django-webpack-loader
config
.plugin('BundleTracker')
.use(BundleTracker, [{ filename: './webpack-stats.json' }])
}
};