-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We cannot use `process-polyfill` as the package name due to a bug in Yarn v1. The errors results in a dependency conflict with `node-stdlib-browser` which fails to import `process/browser.js`. yarnpkg/yarn#6907
- Loading branch information
1 parent
127d414
commit 094f979
Showing
4 changed files
with
8 additions
and
9 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
const global = globalThis || this || self | ||
|
||
export { Buffer } from 'buffer-polyfill' | ||
export { default as process } from 'process-polyfill' | ||
// We cannot use `process-polyfill` as the package name due to a bug in Yarn v1. The errors results in a dependency | ||
// conflict with `node-stdlib-browser` which fails to import `process/browser.js`. | ||
// https://github.com/yarnpkg/yarn/issues/6907 | ||
export { default as process } from 'process' | ||
export { global } |
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