From d580f043716d30f9617ed7f3f49a7e80d54b9865 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 13 三月 2025 15:42:17 +0800 Subject: [PATCH] fix: 二期需求 --- apps/taro/config/index.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js index fbd1d2e..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: { @@ -212,7 +212,7 @@ url: { enable: true, config: { - limit: 1024, // 璁惧畾杞崲灏哄涓婇檺 + limit: 2024, // 璁惧畾杞崲灏哄涓婇檺 }, }, cssModules: { @@ -226,6 +226,7 @@ htmlPluginOption: { favicon: './public/logo-v.png', }, + useHtmlComponents: true, webpackChain(chain, webpack) { chain.plugin('unplugin-auto-import').use( AutoImport({ -- Gitblit v1.9.1