mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
19 lines
441 B
JavaScript
19 lines
441 B
JavaScript
import { defineConfig } from 'vite'
|
|
import baseConfig from './vite.config.js'
|
|
|
|
export default defineConfig({
|
|
...baseConfig,
|
|
css: {
|
|
...baseConfig.css,
|
|
preprocessorOptions: {
|
|
...baseConfig.css.preprocessorOptions,
|
|
scss: {
|
|
.../** @type {import('vite').SassPreprocessorOptions & { api?: undefined }} */ (
|
|
baseConfig.css.preprocessorOptions.scss
|
|
),
|
|
api: 'modern',
|
|
},
|
|
},
|
|
},
|
|
})
|