Skip to content

Commit 2428be0

Browse files
fix(managers): enable modern TypeScript plugin (#3938)
Co-authored-by: Claude <[email protected]>
1 parent d93387d commit 2428be0

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@module-federation/runtime-core": patch
3+
"@module-federation/runtime": patch
4+
"@module-federation/managers": patch
5+
"@module-federation/cli": patch
6+
"@module-federation/error-codes": patch
7+
"@module-federation/data-prefetch": patch
8+
"@module-federation/esbuild": patch
9+
"@module-federation/manifest": patch
10+
"@module-federation/rspack": patch
11+
"@module-federation/runtime-tools": patch
12+
"@module-federation/utils": patch
13+
"@module-federation/webpack-bundler-runtime": patch
14+
---
15+
16+
Enable modern TypeScript plugin for rollup packages
17+
18+
Add `useLegacyTypescriptPlugin: false` to all rollup-based packages to use the official `@rollup/plugin-typescript` instead of the deprecated `rollup-plugin-typescript2`. This resolves TypeScript compilation errors during build and modernizes the build toolchain.

packages/managers/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"rollupConfig": "packages/managers/rollup.config.js",
1919
"compiler": "swc",
2020
"format": ["cjs", "esm"],
21-
"generatePackageJson": false
21+
"generatePackageJson": false,
22+
"useLegacyTypescriptPlugin": false
2223
}
2324
},
2425
"lint": {

0 commit comments

Comments
 (0)