Skip to content

Commit

Permalink
Fixes middlewares import path
Browse files Browse the repository at this point in the history
  • Loading branch information
klippx committed Dec 20, 2023
1 parent cf18079 commit 0177911
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-games-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'mappersmith': patch
---

Fixes `middlewares` import path
44 changes: 44 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,50 @@
"./middleware/timeout": {
"import": "./dist/esm/middleware/timeout.mjs",
"require": "./dist/middleware/timeout.js"
},
"./middlewares": {
"import": "./dist/esm/middlewares/index.mjs",
"require": "./dist/middlewares/index.js"
},
"./middlewares/basic-auth": {
"import": "./dist/esm/middlewares/basic-auth.mjs",
"require": "./dist/middlewares/basic-auth.js"
},
"./middlewares/csrf": {
"import": "./dist/esm/middlewares/csrf.mjs",
"require": "./dist/middlewares/csrf.js"
},
"./middlewares/duration": {
"import": "./dist/esm/middlewares/duration.mjs",
"require": "./dist/middlewares/duration.js"
},
"./middlewares/encode-json": {
"import": "./dist/esm/middlewares/encode-json.mjs",
"require": "./dist/middlewares/encode-json.js"
},
"./middlewares/global-error-handler": {
"import": "./dist/esm/middlewares/global-error-handler.mjs",
"require": "./dist/middlewares/global-error-handler.js"
},
"./middlewares/log": {
"import": "./dist/esm/middlewares/log.mjs",
"require": "./dist/middlewares/log.js"
},
"./middlewares/retry": {
"import": "./dist/esm/middlewares/retry/index.mjs",
"require": "./dist/middlewares/retry/index.js"
},
"./middlewares/retry/v1": {
"import": "./dist/esm/middlewares/retry/v1/index.mjs",
"require": "./dist/middlewares/retry/v1/index.js"
},
"./middlewares/retry/v2": {
"import": "./dist/esm/middlewares/retry/v2/index.mjs",
"require": "./dist/middlewares/retry/v2/index.js"
},
"./middlewares/timeout": {
"import": "./dist/esm/middlewares/timeout.mjs",
"require": "./dist/middlewares/timeout.js"
}
},
"scripts": {
Expand Down

0 comments on commit 0177911

Please sign in to comment.