-
Notifications
You must be signed in to change notification settings - Fork 13
using in npm #2
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
Comments
Adding |
I just noticed that the following works for me:
|
Think #1 can solve this |
I'm. Just spekulating but maybe this will work in the meanwhile...? require("web-stream-pollyfil/dist/polyfill.min.js") |
Hmm, I don't understand why this is happening. The package.json declares the |
I tried using this polyfill in a browserify workflow and stumble upon this issue. Sorry, I don't have time to send you a pull request right now, but you can change this, in the "bundle": "browserify index.es6.js -s default -o dist/polyfill.js -t [ babelify ]", With: "bundle": "browserify index.es6.js -s default -t [ babelify ] | derequire > dist/polyfill.js", (and add the |
Done @neovov |
thank you! |
Uh oh!
There was an error while loading. Please reload this page.
When one uses
require(web-streams-polyfill)
it isn't installing thespec
directory and that content isn't included in the minified version, so you get errors likeCould you fix the build process so the package is requirable on
npm
? thank you!The text was updated successfully, but these errors were encountered: