From 367406258c586499cce61fb929b4d1f52d478d4c Mon Sep 17 00:00:00 2001 From: "Ray.D.Song" <71577024+Ray-D-Song@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:33:57 +0800 Subject: [PATCH] fix: Sass legacy JS API warn (#39) * feat: draggable list & useTableDrag hook * fix: sass deprecated legacy JS API --- vite.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 390340c..1386557 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -30,5 +30,12 @@ export default defineConfig(({ mode }) => { optimizeDeps: { include: ['echarts', 'md-editor-v3', 'quill'], }, + css: { + preprocessorOptions: { + scss: { + api: 'modern', + }, + }, + }, } })