Removed NODE_PATH from env.js

env.js is only for variables injected into the app.
This commit is contained in:
Jimmy Miller
2016-08-22 15:53:29 -04:00
committed by Dan Abramov
parent afe25dfe5c
commit 6e94bd8426
3 changed files with 3 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ module.exports = {
resolve: {
// This allows you to set a root for where webpack should look for modules.
// This enables you to use absolute imports from the root.
root: path.resolve(env['process.env.NODE_PATH']),
root: path.resolve(process.env.NODE_PATH || ''),
// These are the reasonable defaults supported by the Node ecosystem.
extensions: ['.js', '.json', ''],
alias: {