Skip to content

Commit

Permalink
Merge pull request #371 from jeffijoe/fix-exports
Browse files Browse the repository at this point in the history
fix(package): add default exports to package exports
  • Loading branch information
jeffijoe authored Oct 3, 2024
2 parents 03b3915 + fb23e58 commit 1854c46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v11.0.2

- Add `default` to exports lists

# v11.0.1

- Add "exports" field to package.json
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"exports": {
".": {
"import": "./lib/awilix.module.mjs",
"types": "./lib/awilix.d.ts"
"types": "./lib/awilix.d.ts",
"default": "./lib/awilix.js"
},
"./browser": {
"import": "./lib/awilix.browser.js",
"types": "./lib/awilix.d.ts"
"types": "./lib/awilix.d.ts",
"default": "./lib/awilix.browser.js"
}
},
"engines": {
Expand Down

0 comments on commit 1854c46

Please sign in to comment.