aboutsummaryrefslogtreecommitdiff
path: root/config/webpack/development.js
blob: d06e513d6fb590d581ca6be9d8c701e6f7fe4e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
process.env.NODE_ENV = process.env.NODE_ENV || 'development'

const environment = require('./environment')

/**
 * yarn add webpack-bundle-analyzer * /
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
environment.plugins.append('BundleAnalyzerPlugin', new BundleAnalyzerPlugin())
/**/

module.exports = environment.toWebpackConfig()