mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-12 22:06:18 +00:00
Use modern compiler for css processing in vite (to remove SASS 2.0.0 warnings on deprecated JS API usage); (#180)
Resolve some of SASS deprecation warnings; Add note to readme about icons generation
This commit is contained in:
committed by
GitHub
parent
1c8f53caf6
commit
63d0ad7ae8
@@ -37,6 +37,13 @@ export default defineConfig({
|
||||
define: {
|
||||
global: "window",
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: "modern-compiler",
|
||||
},
|
||||
},
|
||||
},
|
||||
envPrefix: ["TAURI_", "VITE_"],
|
||||
plugins: [
|
||||
ViteYaml(),
|
||||
|
||||
Reference in New Issue
Block a user