From 644d4f695a7e03c54a8673af954f92f53af08e7c Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 07 三月 2025 13:49:25 +0800 Subject: [PATCH] release: @life-payment/components v0.0.5 --- apps/taro/config/index.js | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js index af0023b..6ded296 100644 --- a/apps/taro/config/index.js +++ b/apps/taro/config/index.js @@ -98,7 +98,7 @@ url: { enable: true, config: { - limit: 1024, // 璁惧畾杞崲灏哄涓婇檺 + limit: 2024, // 璁惧畾杞崲灏哄涓婇檺 }, }, cssModules: { @@ -196,6 +196,14 @@ router: { mode: 'browser', }, + devServer: { + proxy: { + '/api': { + target: 'http://localhost:57190', // 鐩爣鏈嶅姟鍣ㄥ湴鍧� + changeOrigin: true, + }, + }, + }, postcss: { autoprefixer: { enable: true, @@ -204,7 +212,7 @@ url: { enable: true, config: { - limit: 1024, // 璁惧畾杞崲灏哄涓婇檺 + limit: 2024, // 璁惧畾杞崲灏哄涓婇檺 }, }, cssModules: { @@ -215,6 +223,10 @@ }, }, }, + htmlPluginOption: { + favicon: './public/logo-v.png', + }, + useHtmlComponents: true, webpackChain(chain, webpack) { chain.plugin('unplugin-auto-import').use( AutoImport({ -- Gitblit v1.9.1