File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 3.9.16" ,
4
4
"description" : " A Next.js Top Loading Bar component made using nprogress, works with Next.js 15 and Next.js 14 and React." ,
5
5
"main" : " dist/index.js" ,
6
- "module" : " dist/index.mjs" ,
7
6
"types" : " dist/index.d.ts" ,
8
7
"scripts" : {
9
8
"build-lib" : " tsup" ,
12
11
"typecheck" : " tsc -p tsconfig.json"
13
12
},
14
13
"exports" : {
15
- "." : {
16
- "import" : " ./dist/index.mjs" ,
17
- "require" : " ./dist/index.js" ,
18
- "types" : " ./dist/index.d.ts"
19
- },
20
- "./app" : {
21
- "import" : " ./dist/app.mjs" ,
22
- "require" : " ./dist/app.js" ,
23
- "types" : " ./dist/app.d.ts"
24
- },
25
- "./pages" : {
26
- "import" : " ./dist/pages.mjs" ,
27
- "require" : " ./dist/pages.js" ,
28
- "types" : " ./dist/pages.d.ts"
29
- }
14
+ "." : " ./dist/index.js" ,
15
+ "./app" : " ./dist/app.js" ,
16
+ "./pages" : " ./dist/pages.js"
30
17
},
31
18
"funding" : {
32
19
"url" : " https://buymeacoffee.com/thesgj"
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ export const tsup: Options = {
7
7
keepNames : true ,
8
8
sourcemap : true ,
9
9
minify : true ,
10
- format : [ 'cjs' , 'esm' ] ,
10
+ format : [ 'cjs' ] ,
11
11
} ;
You can’t perform that action at this time.
0 commit comments