-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adjust module resolution behavior
Include yarn's global path when modifying `NODE_PATH` since dependencies are deduped when a package is installed globally with yarn, which is different from npm's behavior. Fix webpack resolution by listing relative `'node_modules'` first in `resolve/Loader:{modules:[...]}`. This ensures that dependecies' dependecies are resolved correctly when webpack builds a DApp. Specify all the web3 beta.34 packages in embark's `package.json`. This fixes a problem where some nested dependency related to whisper isn't resolved correctly or resolves to a bugged version. The theory is that one of the other web3 beta.34 packages introduces a range-compatible and working version of that dependency, whatever it is. Attempts to narrow down which `web3-*` package/s solve the problem were not successful, so it's simpler to specify all of them at this time. Remove the invocation of `.catch()` on a subscription object which lacks that method.
- Loading branch information
1 parent
f68f1fc
commit 8ac173d
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters