File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 4444 "@types/react-dom" : " ^18.2.19" ,
4545 "eslint" : " ^8.57.0" ,
4646 "postcss" : " ^8" ,
47- "tiny-glob" : " ^0.2.9" ,
4847 "tsup" : " ^8.2.0" ,
4948 "typescript" : " ^5.3.3"
5049 },
5150 "dependencies" : {
5251 "@lit/react" : " ^1.0.5" ,
5352 "@material/web" : " ^2.2.0" ,
5453 "autoprefixer" : " ^10.4.19" ,
54+ "fast-glob" : " ^3.3.2" ,
5555 "lit" : " ^3.2.0" ,
5656 "react" : " ^18.2.0" ,
5757 "react-hot-toast" : " ^2.4.1" ,
Original file line number Diff line number Diff line change 11{
22 "extends" : " @repo/typescript-config/react-library.json" ,
33 "compilerOptions" : {
4- "outDir" : " dist"
4+ "outDir" : " dist" ,
5+ "baseUrl" : " ."
56 },
67 "include" : [" **/*" , " *.cjs" ],
78 "exclude" : [" node_modules" , " dist" ]
Original file line number Diff line number Diff line change 1- import glob from "tiny -glob" ;
1+ import fg from "fast -glob" ;
22import { defineConfig } from "tsup" ;
33
44export default defineConfig ( async ( options ) => ( {
55 clean : true ,
6- entry : await glob ( "./src/**/!(*.d|*.spec).tsx" ) ,
6+ entry : await fg ( "./src/**/!(*.d|*.spec).tsx" ) ,
77 splitting : true ,
88 target : "es5" ,
99 format : "esm" ,
10- // dts: true,
1110 treeshake : true ,
1211 bundle : true ,
13- // sourcemap: true,
1412 outDir : "./dist" ,
1513 minify : ! options . watch ,
1614} ) ) ;
You can’t perform that action at this time.
0 commit comments