Skip to content

Commit 1ecd0b3

Browse files
authoredMar 22, 2017
Update webpack.config.prod.js
1 parent 9f07efe commit 1ecd0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module.exports = {
8686
// We placed these paths second because we want `node_modules` to "win"
8787
// if there are any conflicts. This matches Node resolution mechanism.
8888
// https://github.com/facebookincubator/create-react-app/issues/253
89-
modules: [paths.appNodeModules].concat(paths.nodePaths),
89+
modules: ['node_modules', paths.appNodeModules].concat(paths.nodePaths),
9090
// These are the reasonable defaults supported by the Node ecosystem.
9191
// We also include JSX as a common component filename extension to support
9292
// some tools, although we do not recommend using it, see:

0 commit comments

Comments
 (0)
Please sign in to comment.