vite/playground/css-sourcemap/vite.config-sass-modern-compiler.js
2024-09-01 23:27:03 +08:00

16 lines
276 B
JavaScript

import { defineConfig, mergeConfig } from 'vite'
import baseConfig from './vite.config.js'
export default mergeConfig(
baseConfig,
defineConfig({
css: {
preprocessorOptions: {
sass: {
api: 'modern-compiler',
},
},
},
}),
)