mirror of
https://gitee.com/myxzgzs/boyue-kfcode-hasfj.git
synced 2025-06-21 07:49:36 +08:00
28 lines
558 B
JavaScript
28 lines
558 B
JavaScript
import { defineConfig } from 'vite'
|
|
import uni from '@dcloudio/vite-plugin-uni'
|
|
|
|
export default defineConfig(() => {
|
|
return {
|
|
base: './',
|
|
build: {
|
|
minify: true,
|
|
outDir: 'dist',
|
|
},
|
|
server: {
|
|
port: '80'
|
|
},
|
|
plugins: [
|
|
uni()
|
|
],
|
|
exclude: [
|
|
/\/README\.md$/,
|
|
],
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
api: 'modern-compiler'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}) |