-
Notifications
You must be signed in to change notification settings - Fork 204
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
Browser #364
Browser #364
Conversation
Oh, this means it will work in StackBlitz and similar? Nice! 🎉 |
I think not, yet. we still need to distribute main.js file (for browsers) and declare that one in "browser" property - I don't think stackbliz will run bundlers theirself - I think they just use cdns like https://unpkg.com/ . The nice thing is if we generate that in npm pubish those cdns will expose the fie automatically. will try to test this in my fork when have time |
Thanks! 😄 |
* browser support * package.json browser property to ignore dependencies in browser * package.json browser property * dont ignore path
marking dependencies to be ignored by browser bundlers, references: https://github.com/Microsoft/TypeScript/blob/60986adee5a96579a258a2dd896f4bd3d2da6c98/package.json#L109