From b1858aa8b1cc28838384508ebaf24a6e27093701 Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Fri, 11 Apr 2025 15:53:48 +0800
Subject: [PATCH] feat: 完善注释
---
vite.config.js | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index 35a9e98..cee0dd3 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,7 +2,7 @@
* @Author: gjj Ganjj@probim.com.cn
* @Date: 2025-02-14 14:32:19
* @LastEditors: gjj Ganjj@probim.com.cn
- * @LastEditTime: 2025-03-17 11:38:32
+ * @LastEditTime: 2025-03-17 14:42:01
* @FilePath: \北京交通大学\vite.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -42,6 +42,11 @@
additionalData: "@import '@css/sass.scss';",
},
},
+ loaderOptions: {
+ postcss: {
+ plugins: [postcss]
+ }
+ }
},
server: {
proxy: {
@@ -65,13 +70,6 @@
config.module.rule("css").test(/\.css$/).oneOf("vue").use("px2rem-loader").loader("px2rem-loader").options({
remUnit: 192,
}).end();
- },
- css: {
- loaderOptions: {
- postcss: {
- plugins: [postcss]
- }
- }
},
build: {
minify: "esbuild",
--
Gitblit v1.9.3