mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
f1d3a17043
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.
1 line
No EOL
68 B
Text
1 line
No EOL
68 B
Text
This is some example text that will be read using compatiblity mode. |