We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b8366f commit 979ae9cCopy full SHA for 979ae9c
.prettierrc
@@ -1,5 +1,5 @@
1
{
2
"eslintIntegration": true,
3
- "semi": false,
4
- "singleQuote": true
+ "singleQuote": true,
+ "trailingComma": "es5"
5
}
src/index.js
@@ -1,11 +1,11 @@
-const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')
+const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
function rewireWebpackBundleAnalyzer(config, env, options = {}) {
config.plugins = (config.plugins || []).concat([
- new BundleAnalyzerPlugin(options)
6
- ])
+ new BundleAnalyzerPlugin(options),
+ ]);
7
8
- return config
+ return config;
9
10
11
-module.exports = rewireWebpackBundleAnalyzer
+module.exports = rewireWebpackBundleAnalyzer;
0 commit comments