-
Notifications
You must be signed in to change notification settings - Fork 150
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
Umd support #100
Umd support #100
Conversation
Looks great, and I'll also second your thanks to @dpogue for his excellent work! |
Thx. Just recognized that rollup with typescript plugin won't resolve const enum's which raises output size. Looks like sourcemaps can be maintained by using another plugin and build with tsc upfront which is needed anyways for having declaration files. |
Just checked the rollup config on my branch and it looked like I had to pull in rollup-plugin-sourcemaps (Although worth noting that I was running TypeScript with Currently we are getting a warning in WebPack about sourcemaps:
|
Build now uses |
Last tests with jspm/systemjs and declaration file support were succesful. |
These changes introduce UMD support with declaration file enhancement by using rollup on the typescript ES2015 module output.
Basically it does the same as PR #98 (kudos to @dpogue for paving the path) but without removing the toolchain used for development/release workflow.
Will test the changes in a webpack-based project tomorrow. Global usage in demo is working fine.
related issues #83, #94