Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 6fb2667

Browse files
committed
Check for JS files first
1 parent 2124fbe commit 6fb2667

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/webpack.config.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
publicPath: '/'
3232
},
3333
resolve: {
34-
extensions: ['', '.js', '.json'],
34+
extensions: ['.js', '.json', ''],
3535
alias: {
3636
// This `alias` section can be safely removed after ejection.
3737
// We do this because `babel-runtime` may be inside `react-scripts`,

config/webpack.config.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = {
3636
publicPath: publicPath
3737
},
3838
resolve: {
39-
extensions: ['', '.js', '.json'],
39+
extensions: ['.js', '.json', ''],
4040
alias: {
4141
// This `alias` section can be safely removed after ejection.
4242
// We do this because `babel-runtime` may be inside `react-scripts`,

0 commit comments

Comments
 (0)