Alexandre Iooss
6 years ago
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with
1 additions and
12 deletions
-
package.json
-
vue.config.js
|
|
|
@ -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' }]) |
|
|
|
} |
|
|
|
}; |