mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:43:44 +08:00
fix: the CJS build of Vite's Node API is deprecated
This commit is contained in:
parent
7f0d9952aa
commit
d8cf585fc5
@ -43,6 +43,13 @@ export default defineConfig({
|
|||||||
"@root": path.resolve("."),
|
"@root": path.resolve("."),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
css: {
|
||||||
|
preprocessorOptions: {
|
||||||
|
scss: {
|
||||||
|
api: "modern-compiler",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
define: {
|
define: {
|
||||||
OS_PLATFORM: `"${process.platform}"`,
|
OS_PLATFORM: `"${process.platform}"`,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user