Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] @formily/react umd 构建捆绑了 @formily/json-schema #3465

Closed
Grapedge opened this issue Oct 17, 2022 · 0 comments · Fixed by #3467
Closed

[Bug Report] @formily/react umd 构建捆绑了 @formily/json-schema #3465

Grapedge opened this issue Oct 17, 2022 · 0 comments · Fixed by #3467

Comments

@Grapedge
Copy link
Contributor

Steps to reproduce

  1. 执行构建 yarn build
  2. 查看构建产物 packages/react/dist/formily.react.umd.development.js

What is expected?

json-schema 包中的代码不应该被重复打包,Schema 等应该取自 Formily.JSONSchema

What is actually happening?

实际构建后,Schema 等被重复打包:

// ......
var Schema = /** @class */ (function () {
        function Schema(json, parent) {
// ......

exports.Schema = Schema
// ......

Package

@formily/[email protected]


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

Successfully merging a pull request may close this issue.

1 participant