diff options
| author | mokha <mokha@cisco.com> | 2018-09-28 15:00:01 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-09-28 15:00:01 -0600 |
| commit | bf95f1c9550ad0ddfa1f7eafba52f8a37d3fd751 (patch) | |
| tree | daa9c6762a03ae8c53892df9d86e3cf4cc934350 | |
| parent | 252f129fb43ef7744efa8f403f523eb406c1a376 (diff) | |
export BABEL_ENV
| -rw-r--r-- | webpack.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index 5820ee2..e307781 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -42,6 +42,7 @@ const developmentConfig = merge([ ]); module.exports = mode => { + process.env.BABEL_ENV = mode; if (mode === "production") { return merge(commonConfig, productionConfig, { mode }); } |
