Skip to content
Closed
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
Next Next commit
doc: remove non-existent entry-type flag
  • Loading branch information
dnalborczyk authored May 13, 2019
commit 216914b7c17e490d2cde31597ba2ada314e86785
7 changes: 2 additions & 5 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ The `--experimental-json-modules` flag is needed for the module
to work.

```bash
node --experimental-modules --entry-type=module index.js # fails
node --experimental-modules --entry-type=module --experimental-json-modules index.js # works
node --experimental-modules index.js # fails
Comment thread
guybedford marked this conversation as resolved.
Outdated
node --experimental-modules --experimental-json-modules index.js # works
Comment thread
guybedford marked this conversation as resolved.
Outdated
```

## Experimental Loader hooks
Expand Down Expand Up @@ -593,9 +593,6 @@ of these top-level routines.

_isMain_ is **true** when resolving the Node.js application entry point.

When using the `--entry-type` flag, it overrides the ESM_FORMAT result while
providing errors in the case of explicit conflicts.

<details>
<summary>Resolver algorithm specification</summary>

Expand Down