From 6a6b899fbffe820f37e9e991f2335ef0c6b911c8 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 09 六月 2025 16:21:25 +0800 Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui --- apps/taro/config/index.js | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js index 0efa602..83f8f71 100644 --- a/apps/taro/config/index.js +++ b/apps/taro/config/index.js @@ -5,6 +5,8 @@ import ComponentsPlugin from 'unplugin-vue-components/webpack'; import NutUIResolver from '@nutui/nutui-taro/dist/resolver'; +const rootPath = path.resolve(__dirname, '..', '..', '..'); + const config = { projectName: 'vue-mini', date: '2022-11-29', @@ -24,12 +26,7 @@ }, alias: { '@': path.resolve(__dirname, '..', 'src'), - '@life-payment/components': path.resolve( - __dirname, - '..', - 'node_modules', - '@life-payment/components' - ), + '@life-payment/components': path.resolve(rootPath, 'packages', 'components'), }, sourceRoot: 'src', outputRoot: `dist/${process.env.TARO_ENV}`, @@ -250,10 +247,6 @@ }, }) ); - - chain.toConfig().module.rules.forEach((rule) => { - console.log('rule', JSON.stringify(rule)); - }); chain.plugin('unplugin-vue-components').use( ComponentsPlugin({ -- Gitblit v1.9.1