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

Webpack libraryTarget set to UMD #113

Merged
merged 1 commit into from
May 29, 2021
Merged

Webpack libraryTarget set to UMD #113

merged 1 commit into from
May 29, 2021

Conversation

pasho
Copy link
Contributor

@pasho pasho commented Sep 13, 2020

fixes #112

Specified library target to be UMD, which makes the api importable.
All the existing code examples and tests work.

@leocaseiro
Copy link

Hey @0xfe, could you please consider this PR?
It would be nice to use es6 import with vextab.

Thanks

@leocaseiro
Copy link

For context, I've being trying to use it with React on codesandbox, but I've got the same issue as mentioned in #112

Here is the codesandbox, if you are interested:
https://codesandbox.io/s/vexflow-vextab-and-vexchords-with-react-ih6oq?file=/src/App.js

@0xfe
Copy link
Owner

0xfe commented May 29, 2021

LGTM, thanks for the nudge.

@0xfe 0xfe merged commit c4bc7ec into 0xfe:master May 29, 2021
@stereokai
Copy link

@0xfe hey can we please publish this fix to npm? It's holding back many users... Thanks a lot!
#106
#134
https://stackoverflow.com/questions/69341430/how-to-use-vextab-in-meteor-with-svelte

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.

Module import isn't working. Uncaught TypeError: Cannot read property 'Flow' of undefined
4 participants