File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1818 "sideEffects" : false ,
1919 "files" : [
2020 " dist" ,
21+ " dist/**/*.map" ,
2122 " README.md" ,
2223 " CHANGELOG.md"
2324 ],
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ async function build() {
4343 target : 'node' ,
4444 format : 'esm' ,
4545 minify : false ,
46+ sourcemap : 'external' ,
4647 external,
4748 naming : '[dir]/index.mjs' ,
4849 loader : {
@@ -57,6 +58,7 @@ async function build() {
5758 target : 'node' ,
5859 format : 'cjs' ,
5960 minify : false ,
61+ sourcemap : 'external' ,
6062 external,
6163 naming : '[dir]/index.cjs' ,
6264 define : {
Original file line number Diff line number Diff line change 99 "outDir" : " dist" ,
1010 "strict" : true ,
1111 "declaration" : true ,
12+ "declarationMap" : true ,
1213 "skipLibCheck" : true ,
1314 "emitDeclarationOnly" : true ,
1415 "esModuleInterop" : true ,
You can’t perform that action at this time.
0 commit comments