import { defineConfig } from "vite";
import type { UserConfigExport } from "vite";
import { sharedConfig } from "../../vite.config.shared";

export default defineConfig({
  ...(sharedConfig as UserConfigExport),
  css: {
    //css预处理
    preprocessorOptions: {
      scss: {
        charset: false,
        additionalData: `@import "../../common/scss/output.scss";`,
      },
    },
  },
});
