File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 12
12
"types" : " ./dist/types/index.m.d.ts" ,
13
13
"default" : " ./dist/lib/index.mjs"
14
14
},
15
- "types" : " ./dist/lib /index.d.ts" ,
16
- "default" : " ./dist/types /index.js"
15
+ "types" : " ./dist/types /index.d.ts" ,
16
+ "default" : " ./dist/lib /index.js"
17
17
},
18
18
"main" : " dist/lib/index.js" ,
19
19
"types" : " dist/types/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -17,13 +17,10 @@ void (async () => {
17
17
console . log ( 'Transpiling TS into dist.' ) ;
18
18
shell . exec ( 'tsc -p tsconfig.build.json' ) ;
19
19
shell . cp ( 'lib/index.mjs' , 'dist/lib/index.mjs' ) ;
20
- shell . cp (
21
- 'dist/lib/src/vendor/sass/index.d.ts' ,
22
- 'dist/lib/src/vendor/sass/index.m.d.ts'
23
- ) ;
24
20
25
21
console . log ( 'Copying JS API types to dist.' ) ;
26
22
shell . cp ( '-R' , 'lib/src/vendor/sass' , 'dist/types' ) ;
23
+ shell . cp ( 'dist/types/index.d.ts' , 'dist/types/index.m.d.ts' ) ;
27
24
await fs . unlink ( 'dist/types/README.md' ) ;
28
25
29
26
console . log ( 'Ready for publishing to npm.' ) ;
You can’t perform that action at this time.
0 commit comments