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

Update package.json main script and update global inject #546

Closed
wants to merge 3 commits into from
Closed

Update package.json main script and update global inject #546

wants to merge 3 commits into from

Conversation

germain-gg
Copy link

Hi,

I ran into the same issue as #543 . After doing a bit of digging, I found out that in package.json the main was pointing at the AMD distribution, where in Bower, or in the browser it was pointing to the CommonJS one.

I also change the order between global and window in the module wrapper as it is causing issue when the library is used in a non browser context. (When used with the Mocha CLI for example)

Let me know your thoughts,
Thanks

@germain-gg germain-gg closed this Apr 29, 2021
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.

1 participant