Skip to content

Instantly share code, notes, and snippets.

@vire vire/build.js
Created May 16, 2018

What would you like to do?
process.env.NODE_ENV = 'production'
let BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
const webpackConfigProd = require('react-scripts/config/')
new BundleAnalyzerPlugin({
analyzerMode: 'static',
reportFilename: 'report.html'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.