-
Notifications
You must be signed in to change notification settings - Fork 114
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
Using NPM-installed version with bundler #105
Comments
If anyone is checking this to get an answer, it worked for me using this path instead : import { default as Omnitone } from 'omnitone/build/omnitone.esm'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After running
npm install omnitone
, I'm trying the following in my code:This results in an empty object. I see on the browser's console the Omnitone version statement logged, so I know the library is getting bundled and ran.
Any advice on how to properly
require()
this library? I'm using Browserify for bundling.The text was updated successfully, but these errors were encountered: