From 9c78c78e610e03f8f529e473a3b30e94cda808e3 Mon Sep 17 00:00:00 2001 From: "Ricardo M." Date: Tue, 14 Jan 2025 17:50:59 +0100 Subject: [PATCH] fix(DataMapper): Add missing vite.config.js file to avoid sass deprecation notice --- .../DataMapper/debug/vite.config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/ui/src/components/DataMapper/debug/vite.config.js diff --git a/packages/ui/src/components/DataMapper/debug/vite.config.js b/packages/ui/src/components/DataMapper/debug/vite.config.js new file mode 100644 index 000000000..71abad075 --- /dev/null +++ b/packages/ui/src/components/DataMapper/debug/vite.config.js @@ -0,0 +1,19 @@ +// @ts-check +import react from '@vitejs/plugin-react'; +import { defineConfig } from 'vite'; + +// https://vitejs.dev/config/ + +export default defineConfig(async () => { + return { + plugins: [react()], + base: './', + css: { + preprocessorOptions: { + scss: { + api: 'modern-compiler', + }, + }, + }, + }; +});