-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Error when trying to use this in WebPack. #8
Comments
If I follow the advice in the second error it goes away but I still get the first error ("Can't resolve 'env'"). |
Just saw this: webpack/webpack#7352 I will follow up with the workaround linked there. |
I got webpack to build without errors using the suggested workaround:
However I couldn't figure out how to use that build. In the end I gave up and just used bg-sound in a script tag and banged a Hopefully in future somebody will get a demo app working with Timidity using Webpack. |
Glad you got it working. I'm not sure what the webpack issue is. It works fine in browserify with no config needed. |
Yes I don't know why I didn't just try a browserify build instead. Great idea. Will do that for the next iteration. Thanks @feross very much appreciate your work! |
Hi @feross - I know you're very busy so hopefully this won't take much of your time.
When I try to do a simple
import * as timidity from "timidity";
and then run that file through webpack I get the following 2 errors:I'm not a heavy webpack user but maybe you have some pointers as to how I can fix this? Will issue a PR if I get it working.
The text was updated successfully, but these errors were encountered: