Skip to content

Commit

Permalink
Merge pull request #10 from saiichihashimoto/revert-export-type
Browse files Browse the repository at this point in the history
fix(export): revert to old export pattern
  • Loading branch information
kodiakhq[bot] authored Jan 11, 2024
2 parents 896a5cb + 4f2b202 commit 1a75296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@
"url": "https://github.com/sponsors/saiichihashimoto"
},
"license": "MIT",
"exports": {
"./next-pages": {
"import": "./dist/next-pages.mjs",
"require": "./dist/next-pages.js",
"types": "./dist/next-pages.d.ts"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"scripts": {
"build": "tsup",
Expand Down
1 change: 0 additions & 1 deletion tsup.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"entry": ["src/next-pages.ts"],
"format": ["cjs", "esm"],
"dts": true,
"clean": true,
"skipNodeModulesBundle": true
Expand Down

0 comments on commit 1a75296

Please sign in to comment.