Skip to content

Commit

Permalink
Fix .mjs issue with GraphQL 0.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ericclemmons authored Jul 29, 2018
1 parent bbab21a commit 04f4c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/razzle/config/createConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = (
// It is guaranteed to exist because we tweak it in `env.js`
nodePath.split(path.delimiter).filter(Boolean)
),
extensions: ['.js', '.json', '.jsx', '.mjs'],
extensions: ['.mjs', '.jsx', '.js', '.json'],
alias: {
// This is required so symlinks work during development.
'webpack/hot/poll': require.resolve('webpack/hot/poll'),
Expand Down

0 comments on commit 04f4c74

Please sign in to comment.