benjamn / benjamn/reify

Ensure an error is thrown when attempting to import non-exported bindings.

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.