You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
558 B

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'
}
}
}
}
})