From 07d73df3d817d01ce47f6c7b7a8d8514cd389295 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 13 三月 2025 10:19:44 +0800
Subject: [PATCH] release: @life-payment/core v0.0.3

---
 apps/taro/config/index.js |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js
index f29f8a6..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: {
@@ -193,6 +193,17 @@
   h5: {
     publicPath: '/',
     staticDirectory: 'static',
+    router: {
+      mode: 'browser',
+    },
+    devServer: {
+      proxy: {
+        '/api': {
+          target: 'http://localhost:57190', // 鐩爣鏈嶅姟鍣ㄥ湴鍧�
+          changeOrigin: true,
+        },
+      },
+    },
     postcss: {
       autoprefixer: {
         enable: true,
@@ -201,7 +212,7 @@
       url: {
         enable: true,
         config: {
-          limit: 1024, // 璁惧畾杞崲灏哄涓婇檺
+          limit: 2024, // 璁惧畾杞崲灏哄涓婇檺
         },
       },
       cssModules: {
@@ -212,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