Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

swc 插件提供只保留 getData 的能力 #487

Closed
Tracked by #492
chenjun1011 opened this issue Aug 25, 2022 · 1 comment
Closed
Tracked by #492

swc 插件提供只保留 getData 的能力 #487

chenjun1011 opened this issue Aug 25, 2022 · 1 comment
Assignees

Comments

@chenjun1011
Copy link
Contributor

当构建 getData 时,只保留 getData 及其相关依赖(移除立即执行代码)
当构建 getConfig 时,只保留 getConfig 及其相关依赖(移除立即执行代码)
当构建 default 组件时,保留 defalut 方法及其相关依赖(不移除立即执行代码)

@ClarkXia
Copy link
Collaborator

ClarkXia commented Aug 26, 2022

相关 issue #447 #427

@ClarkXia ClarkXia mentioned this issue Aug 30, 2022
14 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants