Skip to content

Commit

Permalink
chore(docz-core): add NODE_ENV on DefinePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jun 30, 2018
1 parent ec38139 commit 914e3ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docz-core/src/bundlers/webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export const createConfig = (babelrc: BabelRC) => (
config.plugin('injections').use(require('webpack/lib/DefinePlugin'), [
{
BASE_URL: JSON.stringify(base),
NODE_ENV: JSON.stringify(env),
},
])

Expand Down

0 comments on commit 914e3ad

Please sign in to comment.