moverware / config-angular2

MIT License
0 stars 0 forks source link

Create new repo in easy-webpack #1

Open moverware opened 8 years ago

moverware commented 8 years ago

@niieani, I am new to the whole pull request stuff so I am not sure how to go about this, but this repo is forked from the config-typescript from easy-webpack. This repo adds support for angular 2 using angular2-template-loader. I am not sure if you are interested in something like this, but it is here if you are. Let me know if you would want to create a new repo with this and I will test this with a fresh angular2 install. But it should work how it is now.

niieani commented 8 years ago

Cool, if you like we can move this under easy-webpack and I'll give you permission to all the things related, so you can maintain this. There's one suggestion I have though, since Easy Webpack is about composition of configs, you don't really need any of the TypeScript stuff in the config - only the angular2 loader. The users then can compose TypeScript with Angular on their own.

moverware commented 8 years ago

Oh I gotcha. Since it won't work without the typescript one, is it possible to go ahead and include the typescript config in the angular2 config? Is the moving something you do or something I do?

niieani commented 8 years ago

Won't it work with Babel though? I believe you can use Angular2 with vanilla JS too. In any case I'd still leave composition of configs for the developer. One reason is that we wouldn't need to maintain TypeScript related configuration in both packages.

moverware commented 8 years ago

Oh yeah that is a good point, I'll look into it more