Back to templates

Template details

Chrome Extension

A Chrome Extensions boilerplate using React 18 and Webpack 5.

About this template

A Chrome Extensions boilerplate using React 18 and Webpack 5.

This is a basic Chrome Extensions boilerplate to help you write modular and modern Javascript code, load CSS easily and automatic reload the browser on code changes.

This boilerplate is updated with:

  • Chrome Extension Manifest V3
  • React 18
  • Webpack 5
  • Webpack Dev Server 4
  • React Refresh
  • react-refresh-webpack-plugin
  • eslint-config-react-app
  • Prettier
  • TypeScript
  • This boilerplate is heavily inspired by and adapted from https://github.com/samuelsimoes/chrome-extension-webpack-boilerplate, with additional support for React 18 features, Webpack 5, and Webpack Dev Server 4.

Please open up an issue to nudge me to keep the npm packages up-to-date. FYI, it takes time to make different packages with different versions work together nicely.