Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Whoops 2
  • Loading branch information
GeoffreyBooth authored Oct 24, 2018
commit 1adb522bbc957ebd6bc9c84af5746800707124ed
2 changes: 1 addition & 1 deletion doc/plan-for-new-modules-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ These changes are implemented in https://github.com/nodejs/ecmascript-modules/pu
- Refine `createRequireFromPath`.
- See [https://gist.github.com/SMotaal/e73c12bd801d78a3108fa30ecd303676](https://gist.github.com/SMotaal/e73c12bd801d78a3108fa30ecd303676).

* Define semantics for importing a package entry point, e.. `import _ from 'lodash'`
* Define semantics for importing a package entry point, e.g. `import _ from 'lodash'`
- Currently this is only possible via an explicit deep import, e.g. `import _ from 'lodash/index.mjs'`. The idea would be to somehow enable the former syntax.
- `package.json` `module` field? `main` field?

Expand Down