Skip to content

Commit 47a1b30

Browse files
chore: clean up and align files with main branch
- Remove CI fix comment from packages/modernjs/src/constant.ts - Remove added comments from packages/rsbuild-plugin/rollup.config.js - Reset packages/rsbuild-plugin/tsconfig.json paths to match main branch - Keep extends and references in tsconfig.json 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e079f64 commit 47a1b30

File tree

3 files changed

+17
-23
lines changed

3 files changed

+17
-23
lines changed

packages/modernjs/src/constant.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export const LOCALHOST = 'localhost';
22
export const PLUGIN_IDENTIFIER = '[ Modern.js Module Federation ]';
3-
// Force rebuild - CI fix attempt

packages/rsbuild-plugin/rollup.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ module.exports = (rollupConfig, _projectOptions) => {
1212
}),
1313
);
1414

15-
// Let nx handle external dependencies via project.json configuration
16-
// Don't override rollupConfig.external to allow proper workspace dependency resolution
17-
1815
rollupConfig.input = {
1916
index: 'packages/rsbuild-plugin/src/cli/index.ts',
2017
utils: 'packages/rsbuild-plugin/src/utils/index.ts',

packages/rsbuild-plugin/tsconfig.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
"module": "commonjs",
5-
"forceConsistentCasingInFileNames": true,
6-
"strict": true,
7-
"noImplicitOverride": true,
8-
"noPropertyAccessFromIndexSignature": true,
9-
"noImplicitReturns": true,
10-
"noFallthroughCasesInSwitch": true,
4+
"baseUrl": ".",
5+
"rootDir": "./",
6+
"outDir": "dist",
7+
"sourceMap": false,
8+
"module": "es2022",
9+
"target": "es2022",
10+
"skipLibCheck": true,
1111
"moduleResolution": "node",
12+
"allowJs": false,
13+
"strict": true,
14+
"types": ["jest", "node"],
15+
"experimentalDecorators": true,
1216
"resolveJsonModule": true,
17+
"allowSyntheticDefaultImports": true,
1318
"esModuleInterop": true,
14-
"skipLibCheck": true,
15-
"skipDefaultLibCheck": true,
19+
"removeComments": true,
1620
"declaration": true,
17-
"noImplicitAny": false,
1821
"paths": {
19-
"@module-federation/sdk": ["../sdk/src/index.ts"],
20-
"@module-federation/sdk/*": ["../sdk/src/*"],
21-
"@module-federation/enhanced": ["../enhanced/src/index.ts"],
22-
"@module-federation/enhanced/*": ["../enhanced/src/*"],
23-
"@module-federation/node": ["../node/src/index.ts"],
24-
"@module-federation/node/*": ["../node/src/*"]
22+
"@/*": ["./*"],
23+
"@src/*": ["./src/*"]
2524
}
2625
},
27-
"files": [],
28-
"include": [],
29-
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
26+
"include": ["src", "../../global.d.ts", "__tests__/**/*"],
27+
"exclude": ["node_modules/**/*", "../node_modules"],
3028
"references": [
3129
{
3230
"path": "./tsconfig.lib.json"

0 commit comments

Comments
 (0)