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!: expose all functions for browser #937

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

jonaslagoni
Copy link
Member

Description
Right now it is not possible to use utility functions such as fromURL in browsers. This PR solves this by removing the default part of the export, and instead export the whole namespace: https://webpack.js.org/configuration/output/#outputlibraryexport

Related issue(s)
Related to asyncapi/EDAVisualiser#54

@jonaslagoni
Copy link
Member Author

Still need to update docs as soon as we agree on an approach.

Copy link

sonarcloud bot commented Jan 10, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
1.0% Duplication on New Code

See analysis details on SonarCloud

webpack_new.config.js Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Mar 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jun 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.0% Duplication on New Code

See analysis details on SonarCloud

@jonaslagoni jonaslagoni changed the title fix: expose all functions for browser fix!: expose all functions for browser Jun 25, 2024
@jonaslagoni jonaslagoni requested a review from smoya June 25, 2024 09:41
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.

2 participants