web-development
Minimal Webpack
setup for React
project with Typescript
, Sass
, Babel
and Material UI
.
Hightlights:
-
From Scratch, contrary to
create-react-app
-
Automatical
html tag
injection with hashed file name. (etc.<link href="styles.[contenthash].css" />
,<script ...
) -
Pipelined processing of
Sass
,ts
,tsx
files withBabel
-
Seperate
Webpack
configuration for development and production
npm
setup steps
Typical cd $work_dir
npm install
npm start (for development)
npm build (for production)