Use index.cjs.js as entry point to scaffolder-node-test-utils

Signed-off-by: ovalice <user@example.com>
This commit is contained in:
ovalice
2024-03-06 12:37:56 +01:00
parent 8dc18dc8ee
commit 563dfd033c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-node-test-utils': patch
---
Updated publishConfig.main entry in package.json from `dist/index.esm.js` to `dist/index.cjs.js` for CommonJS compatibility.
@@ -6,7 +6,7 @@
},
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts"
},
"repository": {