一直都停在rendering状态
PS C:\Code\Code\demo\help_document> yarn build
yarn run v1.22.17
warning package.json: No license field
$ vite build
vite v2.7.9 building for production...
rendering chunks (4)...
解决办法,在vite.config.ts中增加scss的配置
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
css: {
preprocessorOptions: {
scss: {
charset: false
}
}
}
})