Skip to content

Commit

Permalink
Merge pull request #369 from QuentinDutot/package-exports-field
Browse files Browse the repository at this point in the history
Add exports field in package.json
  • Loading branch information
jeffijoe authored Oct 3, 2024
2 parents 2fd2006 + a6dcc30 commit ff9d587
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 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.1

- Add "exports" field to package.json

# v11.0.0

- **BREAKING**: Drop Node 14 support, add Node 22 to build matrix.
Expand Down
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
"umd:main": "lib/awilix.umd.js",
"react-native": "lib/awilix.browser.js",
"typings": "lib/awilix.d.ts",
"exports": {
".": {
"import": "./lib/awilix.module.mjs",
"types": "./lib/awilix.d.ts"
},
"./browser": {
"import": "./lib/awilix.browser.js",
"types": "./lib/awilix.d.ts"
}
},
"engines": {
"node": ">=16.3.0"
},
Expand Down

0 comments on commit ff9d587

Please sign in to comment.