From bcc13e1ffee0d9ce7a9d568122ac411678973b41 Mon Sep 17 00:00:00 2001 From: Tekin Tian Date: Sun, 17 Jul 2022 10:55:20 +0800 Subject: [PATCH] Update vite-lib-render.config.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 自定义render打包的样式输出文件名为 render.style.css 省去打包后再次手动修改的麻烦 --- vite-lib-render.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite-lib-render.config.js b/vite-lib-render.config.js index 413990e..2f71596 100644 --- a/vite-lib-render.config.js +++ b/vite-lib-render.config.js @@ -66,7 +66,8 @@ export default defineConfig({ globals: { vue: 'Vue', 'element-plus': 'ElementPlus', - } + }, + assetFileNames: `render.style.css` } } }