diff --git a/CHANGELOG.md b/CHANGELOG.md index f0a6502..eea31ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -165,3 +165,9 @@ - Fixing for react js - Updated README.md Documentation made it more readable. + +## v3.6.13 + +### Fixed + +- Fixed imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app diff --git a/package.json b/package.json index f3146f8..c0f3544 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,11 @@ "format": "prettier --write \"src/**/*.{ts,tsx}\"", "typecheck": "tsc -p tsconfig.json" }, + "exports": { + ".": "./dist/index.js", + "./app": "./dist/app.js", + "./pages": "./dist/pages.js" + }, "funding": { "url": "https://buymeacoffee.com/thesgj" },