Skip to content

docs(custom-webpack): document ts-node configuration for custom tsconfig (fixes #1162)#2206

Open
just-jeb wants to merge 2 commits into
masterfrom
fix/1162-document-ts-node-config
Open

docs(custom-webpack): document ts-node configuration for custom tsconfig (fixes #1162)#2206
just-jeb wants to merge 2 commits into
masterfrom
fix/1162-document-ts-node-config

Conversation

@just-jeb
Copy link
Copy Markdown
Owner

@just-jeb just-jeb commented May 5, 2026

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

No documentation explaining how to configure ts-node behavior (e.g. module resolution, custom tsconfig) for custom webpack config files and index transform files.

Issue Number: #1162

What is the new behavior?

The custom-webpack README includes a section explaining that ts-node configuration can be provided via the ts-node section in tsconfig.json, with examples for both inline compilerOptions overrides and pointing to a separate tsconfig file via ts-node.tsconfig.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

This is a docs-only change. The feature was already working — users just lacked documentation on how to configure it.

@just-jeb just-jeb force-pushed the fix/1162-document-ts-node-config branch from 093209f to d144e86 Compare May 17, 2026 10:30
The previous example used `module: 'commonjs'` which the builder hard-overrides
in its programmatic ts-node compilerOptions, so the example would have appeared
to work for the wrong reason. Switch to `target` and `paths` (genuinely
honored), and add a note about ts-node registering once per builder run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant