-
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.
feat(data): add flagging of type=module (#386)
* feat(data): add flagging of type=module I've looked around, and it seems like this is a sufficient heuristic to detect esm. I have explicitly left the most common case as unknown, so we can later find out which type those are. References: - https://nodejs.org/api/esm.html#esm_code_package_json_code_code_type_code_field - https://github.com/rollup/rollup/wiki/pkg.module There's also "jsnext:main", but that doesn't seem to be used anymore * turn into array * finish plural migration
- Loading branch information
Showing
7 changed files
with
486 additions
and
0 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
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
Oops, something went wrong.