Skip to content

Commit

Permalink
Add BABEL_ENV || NODE_ENV to default cacheIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjensen committed Oct 5, 2015
1 parent f299837 commit e6b5c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = function(source, inputSourceMap) {
'babel-loader': pkg.version,
'babel-core': babel.version,
babelrc: babelrc || '',
env: process.env.BABEL_ENV || process.env.NODE_ENV,
}),
};
var globalOptions = this.options.babel || {};
Expand Down

0 comments on commit e6b5c37

Please sign in to comment.