File tree 5 files changed +17
-8
lines changed
5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"dev" : " vite" ,
8
8
"build" : " rm -rf dist ; tsc -b && vite build" ,
9
- "clean" : " rm -rf node_modules; rm -rf dist" ,
9
+ "clean" : " rm -rf node_modules; rm tsconfig.tsbuildinfo; rm -rf dist" ,
10
10
"preview" : " vite preview"
11
11
},
12
12
"dependencies" : {
Original file line number Diff line number Diff line change 1
1
// Import all of Bootstrap's CSS
2
- @import " bootstrap/scss/bootstrap" ;
2
+ @use " bootstrap/scss/bootstrap" ;
Original file line number Diff line number Diff line change 1
- import { defineConfig } from ' vite'
2
- import react from ' @vitejs/plugin-react'
1
+ import { defineConfig } from " vite"
2
+ import react from " @vitejs/plugin-react"
3
3
4
4
// https://vite.dev/config/
5
5
export default defineConfig ( {
6
6
plugins : [ react ( ) ] ,
7
+ css : {
8
+ // https://vite.dev/config/shared-options.html#css-preprocessoroptions
9
+ preprocessorOptions : {
10
+ scss : {
11
+ // https://sass-lang.com/documentation/js-api/interfaces/options/#quietDeps
12
+ quietDeps : true ,
13
+ } ,
14
+ } ,
15
+ } ,
7
16
} )
Original file line number Diff line number Diff line change 9
9
],
10
10
"type" : " module" ,
11
11
"scripts" : {
12
- "dev" : " cd apps/react -example && npm run dev" ,
13
- "build" : " npm run build --workspaces " ,
12
+ "dev" : " cd apps/browser -example && npm run dev" ,
13
+ "build" : " tsc --build " ,
14
14
"watch" : " tsc --build --watch" ,
15
15
"clean" : " rm -rf node_modules && npm run clean --workspaces"
16
16
},
Original file line number Diff line number Diff line change 19
19
}
20
20
},
21
21
"scripts" : {
22
- "build" : " tsc --build" ,
23
- "clean" : " rm -rf dist; rm -rf node_modules"
22
+ "build" : " rm -rf dist; tsc --build" ,
23
+ "clean" : " rm -rf dist; rm tsconfig.tsbuildinfo; rm -rf node_modules"
24
24
},
25
25
"keywords" : [],
26
26
"author" : " Scott Willeke <scott@willeke.com> (https://scott.willeke.com)" ,
You can’t perform that action at this time.
0 commit comments