dcloudio / dcloudio/uni-app

页面import进来的组件(没有被公共),但是被打包进子包的common/vendor了

Open
#2,626 1 comment 0 reactions 1 assignee Claimed by @Otto-J View on GitHub
mp-weixin vue2 不明确复现步骤、未提供复现工程
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
这里展示主包,主包页面import一个./staticData.js(确定它没被其他公用,无论主包,子包,都存在这个问题)
![image](https://user-images.githubusercontent.com/15794229/116531608-f1ba7900-a911-11eb-9da9-2845513670b1.png)

在mpvue下打包:只打包进home/main.js
![image](https://user-images.githubusercontent.com/15794229/116531814-262e3500-a912-11eb-9e69-29d498979f30.png)

但是在uni-app下打包:会打进common/vendor内
![image](https://user-images.githubusercontent.com/15794229/116531977-51188900-a912-11eb-8ece-661481e029a0.png)

**系统信息:**
- 发行平台: 微信小程序
- uni-app版本 2.0.0-31420210305001

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.