fix: the CJS build of Vite's Node API is deprecated
This commit is contained in:
@@ -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}"`,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user