Skip to content

Commit

Permalink
Fix the resolving of webpack lib/ directory from in tree builds
Browse files Browse the repository at this point in the history
Running 'make dist' from deeply nested trees wasn't working.

Closes #4797
Reviewed-by: Peter <[email protected]>
  • Loading branch information
stefwalter authored and petervo committed Jul 29, 2016
1 parent 5208131 commit 71892a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = {
"react": "react-lite-cockpit/dist/react-lite.js",
"term": "term.js-cockpit/src/term.js",
},
modulesDirectories: [ srcdir + path.sep + "lib" ]
modulesDirectories: [ path.resolve(srcdir, "lib") ]
},
resolveLoader: {
root: path.resolve(srcdir, 'node_modules')
Expand Down

0 comments on commit 71892a5

Please sign in to comment.