You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/options.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ _Environment variables, where available, are in `ALL_CAPS`_
54
54
-`--emit` Emit output files into `.ts-node` directory <br/>*Default:*`false` <br/>*Environment:*`TS_NODE_EMIT`
55
55
-`--scope` Scope compiler to files within `scopeDir`. Anything outside this directory is ignored. <br/>*Default: `false` <br/>*Environment:*`TS_NODE_SCOPE`
56
56
-`--scopeDir` Directory within which compiler is limited when `scope` is enabled. <br/>*Default:* First of: `tsconfig.json` "rootDir" if specified, directory containing `tsconfig.json`, or cwd if no `tsconfig.json` is loaded.<br/>*Environment:*`TS_NODE_SCOPE_DIR`
57
-
-`moduleType` Override the module type of certain files, ignoring the `package.json``"type"` field. See [Module type overrides](./module-type-overrides.md) for details.<br/>*Default:* obeys `package.json``"type"` and `tsconfig.json``"module"` <br/>*Can only be specified via `tsconfig.json` or API.*
57
+
-`moduleTypes` Override the module type of certain files, ignoring the `package.json``"type"` field. See [Module type overrides](./module-type-overrides.md) for details.<br/>*Default:* obeys `package.json``"type"` and `tsconfig.json``"module"` <br/>*Can only be specified via `tsconfig.json` or API.*
58
58
-`TS_NODE_HISTORY` Path to history file for REPL <br/>*Default:*`~/.ts_node_repl_history`<br/>
59
59
-`--noExperimentalReplAwait` Disable top-level await in REPL. Equivalent to node's [`--no-experimental-repl-await`](https://nodejs.org/api/cli.html#cli_no_experimental_repl_await)<br/>*Default:* Enabled if TypeScript version is 3.8 or higher and target is ES2018 or higher.<br/>*Environment:*`TS_NODE_EXPERIMENTAL_REPL_AWAIT` set `false` to disable
60
60
-`experimentalResolverFeatures` Enable experimental features that re-map imports and require calls to support: `baseUrl`, `paths`, `rootDirs`, `.js` to `.ts` file extension mappings, `outDir` to `rootDir` mappings for composite projects and monorepos. For details, see [#1514](https://github.com/TypeStrong/ts-node/issues/1514)<br/>*Default:*`false`<br/>*Can only be specified via `tsconfig.json` or API.*
0 commit comments