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

fix: circle module require #1290

Merged
merged 1 commit into from
May 7, 2024
Merged

fix: circle module require #1290

merged 1 commit into from
May 7, 2024

Conversation

shulandmimi
Copy link
Member

@shulandmimi shulandmimi commented May 7, 2024

Description:

fix: circle module require

before

(function (r, e) {
  var t = {};
  function n(r) {
    return Promise.resolve(o(r));
  }
  function o(e) {
    if (t[e]) return t[e].exports;
    var i = { id: e, exports: {} };
    r[e](i, i.exports, o, n);
	// cache set
    t[e] = i;
    return i.exports;
  }
  o(e);
});

after

(function (r, e) {
  var t = {};
  function n(r) {
    return Promise.resolve(o(r));
  }
  function o(e) {
    if (t[e]) return t[e].exports;
    var i = { id: e, exports: {} };
	// cache set before require
    t[e] = i;
    r[e](i, i.exports, o, n);
    return i.exports;
  }
  o(e);
});

BREAKING CHANGE:

Related issue (if exists):

Copy link

changeset-bot bot commented May 7, 2024

🦋 Changeset detected

Latest commit: 3fc89c6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@farmfe/core Patch
@farmfe-examples/react-antd Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wre232114 wre232114 enabled auto-merge (squash) May 7, 2024 04:10
@wre232114 wre232114 merged commit be4415a into main May 7, 2024
30 checks passed
@wre232114 wre232114 deleted the fix/circleModuleRequire branch May 7, 2024 05:32
@github-actions github-actions bot mentioned this pull request May 7, 2024
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 this pull request may close these issues.

None yet

2 participants