-
Notifications
You must be signed in to change notification settings - Fork 406
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 for NPM usage #78 #89
base: master
Are you sure you want to change the base?
Conversation
Hi @Unsigno I checked out your PR and set
|
Hi @SimonHFrost , thanks for your report , i was pointing directly the source so i don't noted the issue . I updated the entry point of the NPM module , so it should works now. For browser you can link the single files ( i keep the UMD pattern ) or use the "build" source. I tried to touch as little code as possible , but if there are still problems I could add some transpiler to build the code . Anyway using 'node' as target will throw error , since "webm-writer" is using "fs", you can try "node-async" or find a solution for your needs. But some of the modules used are designed to work in browsers. Best regards Unsigno. |
Does this work? It would be great to get this fix published. |
I tested this one and it works well! |
maybe someone could merge and build? pretty please! |
There is a proposal to solve the issue #78.
I have made the least possible changes to keep the file structure and the project the same.
The webm-writer library requires the "fs" module on Node and it causes some issues using webpack, it can be fixed on the webpack config, but i think we can delete the dependency if we target browsers.