We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f99b00 commit 60e4df1Copy full SHA for 60e4df1
.changeset/tidy-foxes-fix.md
@@ -0,0 +1,8 @@
1
+---
2
+"@module-federation/runtime-tools": patch
3
4
+
5
+fix: add files property to package.json to exclude build config from npm publish
6
7
+Fixes #3873 where .swcrc file was being published to npm causing Jest test failures.
8
+Only dist/ and README.md will now be included in the published package.
packages/runtime-tools/package.json
@@ -12,6 +12,10 @@
12
"url": "https://github.com/module-federation/core/",
13
"directory": "packages/runtime-tools"
14
},
15
+ "files": [
16
+ "dist/",
17
+ "README.md"
18
+ ],
19
"publishConfig": {
20
"access": "public"
21
0 commit comments