clbond / ng2-redux-form

Connect Angular 2 forms to Redux stores
17 stars 7 forks source link

Babel should be in devDependencies or removed #7

Closed marinho closed 7 years ago

marinho commented 7 years ago

Searching for babel mentions through the source code points out it's not necessary to keep them in dependencies key in package.json:

https://github.com/clbond/ng2-redux-form/search?utf8=%E2%9C%93&q=babel

To be honest, I think it's even better to remove its dependency at all, as it is barely used and could easily be replaced by TypeScript in this stack.

clbond commented 7 years ago

We use awesome-typescript-loader, which uses TypeScript and Babel together. Closing

marinho commented 7 years ago

So, why have it in dependencies then? both TypeScript and Babel aren't necessary for going production, they are devDependencies too.