-
Notifications
You must be signed in to change notification settings - Fork 12
refactor: establish Crypto folder feature #317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ | |
| "WebAPI.File": ["WebAPI.Event", "File"], | ||
| "WebAPI.URL": ["WebAPI.DOM", "URL"], | ||
| "WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"], | ||
| "WebAPI.Crypto": ["WebAPI.DOM", "Crypto"], | ||
| "WebAPI.Performance": ["WebAPI.Event", "Performance"], | ||
| "WebAPI.ViewTransitions": ["WebAPI.Event", "ViewTransitions"] | ||
| }, | ||
|
|
@@ -536,9 +537,9 @@ | |
| ] | ||
| }, | ||
| { | ||
| "dir": "src/WebCrypto", | ||
| "dir": "src/crypto", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
After this rename, Useful? React with 👍 / 👎. |
||
| "subdirs": true, | ||
| "feature": "WebAPI.WebCrypto", | ||
| "feature": "Crypto", | ||
| "public": [ | ||
| "Crypto", | ||
| "SubtleCrypto" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a consumer selects
WebAPI.Crypto,rescript build --prod --features WebAPI.Cryptofails because this implication activates the entireWebAPI.DOMsource group, while its dependencies do not provide modules such asEventTargetandDOMStringMapused by that group. The compiler help confirms that--featuresincludes transitively implied features, so the new public feature is unusable unless this dependency points at the appropriate internal foundation or supplies the complete DOM prerequisite closure.Useful? React with 👍 / 👎.