File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2020 "scripts" : {
2121 "build" : " yarn build-js && yarn copy-styles" ,
2222 "build-js" : " yarn build-js-esm && yarn build-js-cjs && yarn build-js-cjs-package" ,
23- "build-js-esm" : " tsc --project tsconfig.build.json --outDir dist/esm --module esnext " ,
24- "build-js-cjs" : " tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs" ,
23+ "build-js-esm" : " tsc --project tsconfig.build.json --outDir dist/esm" ,
24+ "build-js-cjs" : " tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --verbatimModuleSyntax false " ,
2525 "build-js-cjs-package" : " echo '{\n \" type\" : \" commonjs\"\n }' > dist/cjs/package.json" ,
2626 "clean" : " rimraf dist" ,
2727 "copy-styles" : " cpy 'src/**/*.css' dist" ,
Original file line number Diff line number Diff line change 44 "esModuleInterop" : true ,
55 "isolatedModules" : true ,
66 "jsx" : " react" ,
7+ "module" : " esnext" ,
78 "moduleResolution" : " node" ,
89 "noUncheckedIndexedAccess" : true ,
910 "outDir" : " dist" ,
1011 "strict" : true ,
11- "target" : " es5"
12+ "target" : " es5" ,
13+ "verbatimModuleSyntax" : true
1214 },
1315 "include" : [" src" ]
1416}
Original file line number Diff line number Diff line change 99 "noUncheckedIndexedAccess" : true ,
1010 "outDir" : " dist" ,
1111 "strict" : true ,
12- "target" : " es5"
12+ "target" : " esnext" ,
13+ "verbatimModuleSyntax" : true
1314 }
1415}
Original file line number Diff line number Diff line change 99 "noUncheckedIndexedAccess" : true ,
1010 "outDir" : " dist" ,
1111 "strict" : true ,
12- "target" : " es5"
12+ "target" : " esnext" ,
13+ "verbatimModuleSyntax" : true
1314 }
1415}
You can’t perform that action at this time.
0 commit comments