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

Babel reexports pattern #50

Closed
guybedford opened this issue Mar 30, 2021 · 0 comments · Fixed by #51
Closed

Babel reexports pattern #50

guybedford opened this issue Mar 30, 2021 · 0 comments · Fixed by #51

Comments

@guybedford
Copy link
Collaborator

The following CommonJS reexports pattern is not currently supported:

      var _styles = require("./styles");
      Object.keys(_styles).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
        Object.defineProperty(exports, key, {
          enumerable: true,
          get: function get() {
            return _styles[key];
          }
        });
      });

will aim to post a PR and release soon.

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