Skip to content

Conversation

@stevematney
Copy link
Contributor

No description provided.

src/index.tsx Outdated
Comment on lines 1 to 2
export { default as default } from "./ScriptLoader";
export * from "./ScriptLoader";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WIth export * do we still need the {default as deefault}?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do need to explicitly declare the default export. Without it, things blow up downstream.

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version for testing: 2.0.2-fix-exports-da990a.1

You can test it by using:

npm install scriptloader-component@2.0.2-fix-exports-da990a.1

@stevematney stevematney merged commit 5643c44 into main Dec 6, 2022
@stevematney stevematney deleted the fix-exports branch December 6, 2022 19:43
@im-pipeline-bot
Copy link
Collaborator

🎉 This PR is included in version 2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants