This example includes:
- TypeScript & Loader Configuration (full support)
- Source-Maps for everything (in dev)
- TypeScript paths alias mapping as a standard
webpack.config.js
used within react-static's build system (see tsconfig.json` paths & src/path-alias-example) - TypeScript hot module replacement
- Simultaneous support of using JavaScript and TypeScript interchangeably
- Types for all modules (except react-static's costume methods — will be added later)
- Styled-Components
- Image imports
- File imports
- Automatic Routing
To get started, run react-static create
and use the typescript
template.