Use create-react-app ( CRA ) with babel and typescript
Includes rescript to rewire CRA options,
@babel/preset-typescript for typescript, instead of webpack plugin. So you can insert other babel plugins to compile pipeline) and
tslint, and optional styled-components.
Note that this ships with
param.macro, they are compiler plugins so won't increase your bundle size and they are very useful. If you don't like it, just remove them from
npm install -g yonpm install -g generator-create-react-app-rewired-babel-ts
Then generate your new project:
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © linonetwo