diff options
author | Guy Bedford <guybedford@gmail.com> | 2018-02-12 13:02:42 +0200 |
---|---|---|
committer | guybedford <guybedford@gmail.com> | 2018-02-14 16:35:12 +0200 |
commit | f1fc426cce9db230cb83866871f355afa0b92d3b (patch) | |
tree | c0c4bd08e279d6696d3b2542f8ab62d713d2a61d /test/fixtures/es-modules | |
parent | 0e7b61229aa602e55c5fb034a63d7da97eecff3b (diff) | |
download | android-node-v8-f1fc426cce9db230cb83866871f355afa0b92d3b.tar.gz android-node-v8-f1fc426cce9db230cb83866871f355afa0b92d3b.tar.bz2 android-node-v8-f1fc426cce9db230cb83866871f355afa0b92d3b.zip |
module: support main w/o extension, pjson cache
This adds support for ensuring that the top-level main into Node is
supported loading when it has no extension for backwards-compat with
NodeJS bin workflows.
In addition package.json caching is implemented in the module lookup
process.
PR-URL: https://github.com/nodejs/node/pull/18728
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'test/fixtures/es-modules')
-rw-r--r-- | test/fixtures/es-modules/noext | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixtures/es-modules/noext b/test/fixtures/es-modules/noext new file mode 100644 index 0000000000..f21c9bee6d --- /dev/null +++ b/test/fixtures/es-modules/noext @@ -0,0 +1 @@ +exports.cjs = true;
\ No newline at end of file |