Fix importing npm linked libraries (#1359)

* Fix importing npm linked libraries

* Update webpack.config.dev.js

* Update webpack.config.prod.js
This commit is contained in:
Asa Ayers
2017-03-22 17:29:53 -07:00
committed by Joe Haddad
parent bc6fc95055
commit 47a8148fb1
2 changed files with 2 additions and 2 deletions

View File

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