Ensure an error is thrown when attempting to import non-exported bindings.
Open
- Dominant language
- JavaScript
- Stars
- 740
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
For example Canary will throw an error like:
```
Uncaught SyntaxError: The requested module does not provide an export named 'd'
```
Safari errors with:
```
SyntaxError: Importing binding name 'd' is not found.
```
Firefox Nightly errors with:
```
SyntaxError: import 'd' not found
```
Edge (Experimental Flag)
```
Silent fail (No error message)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.