| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-10-06 | feat(compat): add support for node: prefixed built-ins (#12337) | Bartek Iwańczuk | |
| Adds support for "node:" prefix for Node built-ins in "--compat" mode. As per https://nodejs.org/api/esm.html#esm_node_imports | |||
| 2021-10-05 | feat: add --compat flag to provide built-in Node modules (#12293) | Bartek Iwańczuk | |
| This commit adds "--compat" flag. When the flag is passed a set of mappings for built-in Node modules is injected into the import map. If user doesn't explicitly provide an import map (using "--import-map" flag) then a map is created on the fly. If there are already existing mappings in import map that would clash with built-in Node modules a set of diagnostics is printed to the terminal with suggestions how to proceed. | |||
