Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 54ca1714d..41236079b 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -1,4 +1,5 @@
const path = require('path');
+const BundleAnalyzerPlugin = require('@bundle-analyzer/webpack-plugin')
const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
@@ -56,9 +57,12 @@ module.exports = {
}
]
},
- plugins: [new VueLoaderPlugin()],
+ plugins: [
+ new BundleAnalyzerPlugin({ token: process.env.BUNDLE_ANALYZER_TOKEN }),
+ new VueLoaderPlugin()
+ ],
resolve: {
extensions: ['*', '.js', '.vue', '.json'],
symlinks: false
}
-}; \ No newline at end of file
+};