Skip to content

Commit d3a08e3

Browse files
committed
fix: imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app
1 parent f739118 commit d3a08e3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,9 @@
165165

166166
- Fixing for react js
167167
- Updated README.md Documentation made it more readable.
168+
169+
## v3.6.13
170+
171+
### Fixed
172+
173+
- Fixed imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
1111
"typecheck": "tsc -p tsconfig.json"
1212
},
13+
"exports": {
14+
".": "./dist/index.js",
15+
"./app": "./dist/app.js",
16+
"./pages": "./dist/pages.js"
17+
},
1318
"funding": {
1419
"url": "https://buymeacoffee.com/thesgj"
1520
},

0 commit comments

Comments
 (0)