mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
No need to log webpack stats
This commit is contained in:
parent
8f7ecef843
commit
dfddaa1d2b
2 changed files with 1 additions and 12 deletions
|
@ -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": [
|
||||
|
|
|
@ -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' }])
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue