Joining forces with ts-loader? #266
Description
Hello awesome-ts-loader folk!
I'm one of the maintainers of ts-loader. I've recently been doing some work to update ts-loader and its test packs. We shipped 1.0.0 last night. As I did this work I came to the conclusion that there is a lot of common ground (unsurprisingly) between awesome-ts-loader and ts-loader itself.
I was wondering how you'd feel about seeing if we could unite ts-loader and awesome-ts-loader somehow. Or perhaps just share some common code. I don't know how much of this is workable but I thought it worth putting it out there. Feel free to turn me down but it seems we might all benefit from pooling our efforts.
If you were interested, here's the areas (as I see them) we'd need to think about:
-
atl is designed to support WebPack 2.0. ts-loader is designed to support WebPack 1.0. I'm not totally clear on the differences between the 2 (documentation on WebPack 2 seems relatively sparse) but I understand there isn't a huge gap. I have a feeling that supporting both side by side would be pretty do-able. Perhaps with minor config tweaks. Feel free to tell me more about WebPack 2.
-
ts-loader runs continuous integration tests on Linux and Windows; atl just Linux. It'd be straightforward to get atl setup with a windows build and I'd be happy to help.
-
ts-loader supports all the way back to ts 1.6. I don't see any reason why atl wouldn't do that just as well. Arguably we could well think about dropping support for 1.6 and 1.7 now (although API wise I suspect things would work with only minor work). Again I'd be happy to help with this / discuss this.
-
Both ts-loader and awesome-ts-loader have a need for a sync resolver function. If creating a united loader isn't a realistic proposition I wonder if sharing common code such as this might be realistic?
I'm sure there's more to think about but this is a starting point. My ideal would be to have a unified TypeScript loader for WebPack with a common code base that was built and maintained collectively. How that might come about is something I'd be happy to discuss as much as you like. What do you think?
PS stay awesome ;-)