Webpack for ReactJS with TypeScript 2023

Published: 19 August 2023
on channel: Ventsislav Ivanov
186
5

This is a step by step tutorial on how to start and configure a new project based on Webpack for ReactJS using TypeScript. We're also going to integrate libraries and packages like Jest, SCSS, ESLint and Prettier so that the project is prepared for scalability. Wre also going to explore different approaches on how to optimize the resulting "build".

GitHub repo, search for: veniva/webpack-react-ts

We're going to cover the following topicks:

Timestamps:
00:00 - Intro
03:42 - Initial setup
05:36 - Install Webpack
06:48 - Setup the testing infrastructure
12:21 - Initial project structure
13:58 - Create a tscofig.json
18:46 - Setup webpack.config.js
35:47 - Configure Hot Module Replacement (HMR) for ReactJS
49:34 - Add Prettier
54:06 - Add ESLint
01:06:30 - Add SCSS
01:17:58 - Asset Management
01:25:26 - Copy static content
01:33:01 - Clean the "dist" folder
01:37:49 - Optimize the build
01:49:53 - Configure source maps
01:56:39 - Add automated test
02:02:19 - Conclusion


On this page of the site you can watch the video online Webpack for ReactJS with TypeScript 2023 with a duration of hours minute second in good quality, which was uploaded by the user Ventsislav Ivanov 19 August 2023, share the link with friends and acquaintances, this video has already been watched 186 times on youtube and it was liked by 5 viewers. Enjoy your viewing!