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:
parent
8f7ecef843
commit
dfddaa1d2b
2 changed files with 1 additions and 12 deletions
|
@ -20,8 +20,7 @@
|
||||||
"eslint-plugin-vue": "^6.2.2",
|
"eslint-plugin-vue": "^6.2.2",
|
||||||
"sass": "^1.26.3",
|
"sass": "^1.26.3",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^8.0.2",
|
||||||
"vue-template-compiler": "^2.6.11",
|
"vue-template-compiler": "^2.6.11"
|
||||||
"webpack-bundle-tracker": "^1.0.0-alpha.1"
|
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
|
|
|
@ -7,17 +7,7 @@
|
||||||
* the HelloWorld component.
|
* the HelloWorld component.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const BundleTracker = require("webpack-bundle-tracker");
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// Output to Django statics
|
// Output to Django statics
|
||||||
outputDir: './static/bundles/',
|
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