Skip to content

An example project demonstrating how to manually set up a front-end project with TypeScript, Babel, ESLint, Stylelint, Jest, webpack, PostCSS, Sass, and React

Notifications You must be signed in to change notification settings

luangong/webpack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6ddb2ba · Aug 27, 2023

History

1 Commit
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023
Aug 27, 2023

Repository files navigation

webpack-example

Videos

TODOs

  • webpack
  • Babel
  • browserslist
  • jest logo Jest
  • eslint logo ESLint
  • stylelint logo stylelint
  • markdownlint logo markdownlint
  • prettier logo Prettier
  • lint-staged
  • Husky
  • Routing
  • ⭐️ Importing modules from inside node_modules
  • Pre-commit hook is a wrong idea
  • Type-check webpack.config.js and .eslintrc.js

Configurations

  • Use webpack with Babel (via babel-loader)
  • Use webpack with TypeScript (via Babel and babel-loader / ts-loader)
  • Babel + React + JSX (via @babel/preset-react)
  • Babel + TypeScript (via @babel/preset-typescript)
  • Use ESLint with TypeScript and Airbnb (via @typescript-eslint/{parser,eslint-plugin})
  • Use Jest with TypeScript (via Babel and builtin babel-jest transformer)
  • Use Jest with TypeScript + React ()

About

An example project demonstrating how to manually set up a front-end project with TypeScript, Babel, ESLint, Stylelint, Jest, webpack, PostCSS, Sass, and React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published