File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default defineBuildConfig({
6
6
} ,
7
7
hooks : {
8
8
"rollup:options" ( _ , options ) {
9
- for ( const output of options . output ) {
9
+ for ( const output of options . output as any [ ] ) {
10
10
// @ts -ignore
11
11
output . exports = "named" ;
12
12
}
Original file line number Diff line number Diff line change 1
- const lib = require ( "../dist/index.cjs" ) ;
1
+ const lib = require ( "../dist/index.node. cjs" ) ;
2
2
3
3
module . exports = lib . consola ;
4
4
Original file line number Diff line number Diff line change 18
18
"exports" : {
19
19
"." : {
20
20
"node" : {
21
- "types" : " ./dist/index.d.ts" ,
22
- "require" : " ./lib/index.cjs" ,
23
- "import" : " ./dist/index.mjs"
21
+ "types" : " ./dist/index.node. d.ts" ,
22
+ "require" : " ./lib/index.node. cjs" ,
23
+ "import" : " ./dist/index.node. mjs"
24
24
},
25
25
"default" : {
26
26
"types" : " ./dist/index.browser.d.ts" ,
27
27
"import" : " ./dist/index.browser.mjs"
28
28
}
29
29
}
30
30
},
31
- "main" : " ./lib/index.cjs" ,
32
- "module" : " ./dist/index.mjs" ,
33
- "types" : " ./dist/index.d.ts" ,
31
+ "main" : " ./lib/index.node. cjs" ,
32
+ "module" : " ./dist/index.node. mjs" ,
33
+ "types" : " ./dist/index.node. d.ts" ,
34
34
"files" : [
35
35
" dist" ,
36
- " lib" ,
37
- " types"
36
+ " lib"
38
37
],
39
38
"scripts" : {
40
39
"build" : " unbuild" ,
68
67
"winston" : " ^3.8.2"
69
68
},
70
69
"packageManager" : " pnpm@8.1.1"
71
- }
70
+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments