Skip to content

Commit

Permalink
Fix babel breaking again...
Browse files Browse the repository at this point in the history
  • Loading branch information
geowarin committed Aug 29, 2016
1 parent 14fe9a5 commit a0c775f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/babel/createBabelConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function createBabelConfig(context, isWebpack) {
const babelConfig = {
presets: [
require.resolve('babel-preset-react'),
[require.resolve('babel-preset-es2015'), {modules: !isWebpack}],
[require.resolve('babel-preset-es2015'), {modules: isWebpack ? false : 'commonjs'}],
require.resolve('babel-preset-stage-0')
],
plugins,
Expand Down

0 comments on commit a0c775f

Please sign in to comment.