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 44
44
"@types/react-dom" : " ^18.2.19" ,
45
45
"eslint" : " ^8.57.0" ,
46
46
"postcss" : " ^8" ,
47
- "tiny-glob" : " ^0.2.9" ,
48
47
"tsup" : " ^8.2.0" ,
49
48
"typescript" : " ^5.3.3"
50
49
},
51
50
"dependencies" : {
52
51
"@lit/react" : " ^1.0.5" ,
53
52
"@material/web" : " ^2.2.0" ,
54
53
"autoprefixer" : " ^10.4.19" ,
54
+ "fast-glob" : " ^3.3.2" ,
55
55
"lit" : " ^3.2.0" ,
56
56
"react" : " ^18.2.0" ,
57
57
"react-hot-toast" : " ^2.4.1" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " @repo/typescript-config/react-library.json" ,
3
3
"compilerOptions" : {
4
- "outDir" : " dist"
4
+ "outDir" : " dist" ,
5
+ "baseUrl" : " ."
5
6
},
6
7
"include" : [" **/*" , " *.cjs" ],
7
8
"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" ;
2
2
import { defineConfig } from "tsup" ;
3
3
4
4
export default defineConfig ( async ( options ) => ( {
5
5
clean : true ,
6
- entry : await glob ( "./src/**/!(*.d|*.spec).tsx" ) ,
6
+ entry : await fg ( "./src/**/!(*.d|*.spec).tsx" ) ,
7
7
splitting : true ,
8
8
target : "es5" ,
9
9
format : "esm" ,
10
- // dts: true,
11
10
treeshake : true ,
12
11
bundle : true ,
13
- // sourcemap: true,
14
12
outDir : "./dist" ,
15
13
minify : ! options . watch ,
16
14
} ) ) ;
You can’t perform that action at this time.
0 commit comments