Skip to content

Commit

Permalink
Fix storyshots with new babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor authored Aug 23, 2017
1 parent 2b9d905 commit 0af50a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/react/src/server/config/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
targets: {
browsers: ['last 2 versions', 'safari >= 7'],
},
modules: false,
modules: process.env.NODE_ENV === 'test' ? undefined : false,
},
],
require.resolve('babel-preset-stage-0'),
Expand Down

0 comments on commit 0af50a7

Please sign in to comment.