GSA/code-gov-front-end

View on GitHub
config/webpack/webpack.analyze.js

Summary

Maintainability
A
0 mins
Test Coverage
const merge = require('webpack-merge')
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')

const analyzeConfig = {
  plugins: [new BundleAnalyzerPlugin({ analyzerMode: 'static' })]
}

const prodConfig = require('./webpack.prod.js')

module.exports = merge(prodConfig, analyzeConfig)