We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e13ea9 commit 0d49fc8Copy full SHA for 0d49fc8
package.json
@@ -39,6 +39,7 @@
39
"rimraf": "^2.6.2",
40
"sass-loader": "^7.0.1",
41
"vue": "^2.6.8",
42
- "vue-template-compiler": "^2.5.17"
+ "vue-template-compiler": "^2.5.17",
43
+ "webpack-bundle-analyzer": "^3.4.1"
44
}
45
vue.config.js
@@ -1,11 +1,15 @@
1
+// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
2
+
3
module.exports = {
4
configureWebpack: {
5
output: {
6
library: "VueGridLayout",
7
libraryExport: 'default'
8
},
9
+ // https://medium.com/js-dojo/how-to-reduce-your-vue-js-bundle-size-with-webpack-3145bf5019b7
10
+ // plugins: [new BundleAnalyzerPlugin()],
11
12
css: {
13
extract: false
- }
-}
14
+ },
15
+}
0 commit comments