Skip to content

Commit 0e752df

Browse files
committed
fix(mf): expose types for webpack entrypoint
fixes #661
1 parent fbd9960 commit 0e752df

File tree

4 files changed

+4
-41
lines changed

4 files changed

+4
-41
lines changed

libs/mf/post-build.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

libs/mf/project.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,15 @@
5858
]
5959
}
6060
},
61-
"post-build": {
62-
"dependsOn": ["build"],
63-
"executor": "nx:run-commands",
64-
"options": {
65-
"cwd": "libs/mf",
66-
"command": "node post-build.js"
67-
}
68-
},
6961
"publish": {
70-
"dependsOn": ["build", "post-build"],
62+
"dependsOn": ["build"],
7163
"executor": "nx:run-commands",
7264
"options": {
7365
"command": "node tools/scripts/publish.mjs mf npm {args.ver} {args.tag}"
7466
}
7567
},
7668
"publish-local": {
77-
"dependsOn": ["build", "post-build"],
69+
"dependsOn": ["build"],
7870
"executor": "nx:run-commands",
7971
"options": {
8072
"command": "node tools/scripts/publish.mjs mf verdaccio {args.ver}"

libs/mf/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"declaration": true,
66
"types": ["node"]
77
},
8-
"include": ["src/**/*.ts"],
8+
"include": ["src/**/*.ts", "webpack.ts"],
99
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
1010
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ng": "nx",
77
"nx": "nx",
88
"build": "npm run build:mf && npm run build:nf",
9-
"build:mf": "nx run-many -t build --projects=tag:scope:mf* && nx run mf:post-build",
9+
"build:mf": "nx run-many -t build --projects=tag:scope:mf*",
1010
"build:nf": "nx run-many -t build --projects=tag:scope:nf* && nx run native-federation:post-build",
1111
"lint": "nx workspace-lint && ng lint",
1212
"e2e": "ng e2e",

0 commit comments

Comments
 (0)