Skip to content

Commit

Permalink
feat(utilities): expose esm from package json (#2818)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzachbon authored Aug 5, 2024
1 parent 951d705 commit bb1e471
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-bikes-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@module-federation/utilities': minor
---

Expose esm from the package json
8 changes: 6 additions & 2 deletions packages/utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@module-federation/utilities",
"version": "3.0.39",
"type": "commonjs",
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"types": "./dist/index.cjs.d.ts",
"license": "MIT",
"publishConfig": {
Expand Down Expand Up @@ -36,7 +36,11 @@
}
},
"exports": {
".": "./dist/index.cjs.js",
".": {
"types": "./dist/index.cjs.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
Expand Down

0 comments on commit bb1e471

Please sign in to comment.