next-restore-scroll-position
Advanced tools
Comparing version
{ | ||
"name": "next-restore-scroll-position", | ||
"version": "1.0.3", | ||
"version": "1.0.5", | ||
"description": "Restores scroll position when navigating back and forth in NextJS", | ||
@@ -13,10 +13,2 @@ "main": "index.js", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"repository": { | ||
@@ -28,13 +20,7 @@ "type": "git", | ||
"tsup": { | ||
"dts": true, | ||
"bundle": false, | ||
"treeshake": true, | ||
"target": "node16", | ||
"format": [ | ||
"esm", | ||
"cjs" | ||
], | ||
"entry": [ | ||
"src/**/*.ts" | ||
] | ||
"entry": ["src/index.ts"], | ||
"splitting": false, | ||
"sourcemap": true, | ||
"clean": true, | ||
"dts": true | ||
}, | ||
@@ -41,0 +27,0 @@ "keywords": ["NextJS", "scroll", "restore", "position"], |
Sorry, the diff of this file is not supported yet
12295
24.24%9
-25%186
-20.51%