GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — docs(experiments): document experiments.typescript (5.107) by bjohansebas · Pull Request #8247 · webpack/webpack.js.org Conversation
Member
SummaryWebpack 5.107 adds first-class TypeScript support behind a new Documents:
Refs: webpack/webpack#20964 Test plan
Use of AIDrafted with Claude under human review. The contributor verified each change against the upstream webpack PR before commit.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsWebpack 5.107 adds first-class TypeScript support behind a new experiments.typescript flag using Node.js's built-in module.stripTypeScriptTypes (Node.js >= 22.6). Documents: - The flag itself (boolean, default false, auto-enabled by experiments.futureDefaults). - The defaults it wires up (rules, extension resolution, extensionAlias, tsconfig resolution, "typescript" conditional-exports key). - The constraints: types-only transform, no type checking, no JSX/.tsx, no non-erasable syntax (enum, namespace, etc.), matching tsconfig's erasableSyntaxOnly. - Links to examples/typescript and examples/typescript-non-erasable in the webpack repo for both the built-in setup and the ts-loader fallback. Refs: webpack/webpack#20964
|
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@bjohansebas let's rebase and we can merge, thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
could you rebase? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Adds documentation for webpack 5.107’s new experimental TypeScript support behind experiments.typescript, explaining what gets enabled by default, the feature’s constraints, and pointing to upstream examples.
Changes:
experiments.typescript to the experiments option list/TOC.experiments.typescript flag, including defaults it wires up (rules, resolution, extensionAlias, tsconfig, conditional exports).💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
367d2c61
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.