-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
相关平台
微信小程序
小程序基础库版本
3.8.3
使用框架
Vue 3
问题描述
3.6.19之后的版本。小程序插件页面组件的.json的usingComponents引入公共comp路径出错,原来提{"isNewBlended":false,"usingComponents":{"comp":"../../comp"}}
,3.6.19版本后{"isNewBlended":false,"usingComponents":{"comp":"../../../comp"}}。排查发现3.6.19之后为了修改
- fix(webpack5/cli): 修复编译小程序插件时,静态资源路径错误的问题 (fix(webpack5/cli): 修复编译小程序插件时,静态资源路径错误的问题 #15302)
去除了getIsBuildPluginPath方法导致了importBaseCompPath路径 出问题了
复现链接
https://github.com/Sukimq/build-vue-weapp-plugin
复现步骤
直接运行
环境信息
ro CLI 4.0.9 environment info:
System:
OS: Windows 11 10.0.22000
Binaries:
Node: 18.18.2 - D:\workspace\nodejs\node.EXE
Yarn: 1.22.22 - D:\workspace\nvm\npm\global\yarn.CMD
npm: 9.8.1 - D:\workspace\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 3.6.36 => 3.6.36
@tarojs/components: 3.6.36 => 3.6.36
@tarojs/helper: 3.6.36 => 3.6.36
@tarojs/plugin-framework-vue3: 3.6.36 => 3.6.36
@tarojs/plugin-html: 3.6.36 => 3.6.36
@tarojs/plugin-platform-alipay: 3.6.36 => 3.6.36
@tarojs/plugin-platform-h5: 3.6.36 => 3.6.36
@tarojs/plugin-platform-jd: 3.6.36 => 3.6.36
@tarojs/plugin-platform-qq: 3.6.36 => 3.6.36
@tarojs/plugin-platform-swan: 3.6.36 => 3.6.36
@tarojs/plugin-platform-tt: 3.6.36 => 3.6.36
@tarojs/plugin-platform-weapp: 3.6.36 => 3.6.36
@tarojs/plugin-vue-devtools: 3.6.36 => 3.6.36
@tarojs/runtime: 3.6.36 => 3.6.36
@tarojs/service: 3.6.36 => 3.6.36
@tarojs/shared: 3.6.36 => 3.6.36
@tarojs/taro: 3.6.36 => 3.6.36
@tarojs/taro-loader: 3.6.36 => 3.6.36
@tarojs/webpack5-runner: 3.6.36 => 3.6.36
babel-preset-taro: 3.6.36 => 3.6.36
eslint-config-taro: 3.6.36 => 3.6.36
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working