-
-
Notifications
You must be signed in to change notification settings - Fork 433
Declaration bundler plugin #634
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
Conversation
merge latest
I'll take a look at this once we've sorted out the other PR 😄 |
I'll need to add more documentation for the limitations here - typescript's compilerOptions.target must be "AMD" or "System". This is the same limitation typescript has on combining to a single outFile. Also, I think file export names must match file names. |
First of all - well done for your work. However, I've been thinking about this some more and I'm not sure it makes sense for this functionality to be part of ts-loader itself. I think it makes more sense for this to be published to npm as a separate project and maintained separately. I've a couple of reasons which I hope you'll understand:
I'd be perfectly happy to have documentation in ts-loader that links to this plugin (just as we have docs that link to the I hope you understand my reasoning. I'm sorry if I've wasted your time a little here - I didn't mean to. Hopefully you can lift the work you've done here directly into a plugin to publish to npm. What do you think? |
Ok, no worries, thanks for looking at this. |
Add option to bundle files into a single .d.ts file
#263