Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions rfcs/script-import-loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ CommonJS resolution, JSX defaults, or supported decorator syntax. The acceptance
claim is complete replacement of the **preload integration surface**, not identical
output for every program accepted by tsx.

[Glob imports](./vpx-script-execution.md#glob-imports) are a proposal for the shared
loader. With them, the public entry expands `import.meta.glob` as `vpx` does.
Node.js' own watch mode does not read the glob report of the loader. It restarts
only for files that the script loaded. `vpx --watch` also restarts when a matching
file is created or deleted.

The first nonempty environment variable in this order selects one tsconfig for
resolution and transforms:

Expand Down
Loading
Loading