mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 08:53:44 +08:00
fix: the CJS build of Vite's Node API is deprecated
This commit is contained in:
parent
a59fda512c
commit
e8b3bd5bdc
@ -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