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

Add module entry on package.json #262

Merged
merged 2 commits into from
Jan 25, 2019
Merged

Conversation

N0NamedGuy
Copy link
Contributor

This entry helps out with rollup bundling. Since the transpiled library located at "lib/single-spa.js" is in CommonJS format, rollup (more precisely rollup-plugin-commonjs plugin) has trouble finding the exports, unless they are named on the namedExports configuration.

If instead we set a module name on the package.json, this change solves this specific issue.

This entry helps out with rollup bundling. Since the transpiled library located at "lib/single-spa.js" is in CommonJS format, rollup (more precisely rollup-plugin-commonjs plugin) has trouble finding the exports, unless they are named on the namedExports configuration.

If instead we set a module name on the package.json, this change solves this specific issue.
Added a module entry on package.json
@frehner
Copy link
Member

frehner commented Jan 22, 2019

I believe the tests failed just due to the brittleness of our testing integration at the moment. I think this looks good to me. @joeldenning @TheMcMurder any objections?

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