Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

fix(wechat): 引用三方plugin时误报错 #1529

Merged
merged 2 commits into from
Apr 19, 2021
Merged

fix(wechat): 引用三方plugin时误报错 #1529

merged 2 commits into from
Apr 19, 2021

Conversation

jaluik
Copy link
Contributor

@jaluik jaluik commented Apr 15, 2021

修复微信引用三方plugin时错误报错

错误复现: 当在微信原生文件中的index.json中引用三方plugin时,代码如下

{
  "component": true,
  "usingComponents": {
    "cert": "plugin:https://wxqmPlugin/cert"
  }
}

会报下面的错误
image

修复方式

增加usingComponents为plugin时的判断(不需要查找相关本地依赖)

微信plugin文档地址

@vercel
Copy link

vercel bot commented Apr 15, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/remaxjs/remax/36SzjTeYVm4HtRDVAbKoy2dGskLe
✅ Preview: https://remax-git-fork-jaluik-fix-remaxjs.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 15, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a772855:

Sandbox Source
one Configuration

@codecov
Copy link

codecov bot commented Apr 15, 2021

Codecov Report

Merging #1529 (a772855) into master (7844089) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1529   +/-   ##
=======================================
  Coverage   90.67%   90.67%           
=======================================
  Files         364      364           
  Lines        4429     4431    +2     
  Branches      681      682    +1     
=======================================
+ Hits         4016     4018    +2     
  Misses        405      405           
  Partials        8        8           
Impacted Files Coverage Δ
...ackages/remax-cli/src/build/entries/NativeEntry.ts 94.82% <100.00%> (+0.18%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7844089...a772855. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants