File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 66 "scripts" : {
77 "dev" : " vite" ,
88 "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" ,
1010 "preview" : " vite preview"
1111 },
1212 "dependencies" : {
Original file line number Diff line number Diff line change 11// 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"
33
44// https://vite.dev/config/
55export default defineConfig ( {
66 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+ } ,
716} )
Original file line number Diff line number Diff line change 99 ],
1010 "type" : " module" ,
1111 "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 " ,
1414 "watch" : " tsc --build --watch" ,
1515 "clean" : " rm -rf node_modules && npm run clean --workspaces"
1616 },
Original file line number Diff line number Diff line change 1919 }
2020 },
2121 "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"
2424 },
2525 "keywords" : [],
2626 "author" : " Scott Willeke <scott@willeke.com> (https://scott.willeke.com)" ,
You can’t perform that action at this time.
0 commit comments