lxieyang / chrome-extension-boilerplate-react

A Chrome Extensions boilerplate using React 18 and Webpack 5.
MIT License
3.58k stars 1.1k forks source link

Several problems currently encountered (important ) #83

Closed fariellany closed 2 years ago

fariellany commented 2 years ago

problem

  1. During hot loading, the previously packaged files will not be removed, resulting in a large package (so Oops)
  2. When there is an error, no error will be prompted when npm run build is executed, and it can only be found through npm run start (so Oops)

Suggest

  1. Can the template be replaced with typescript and less or sass?
  2. add git commit verification
lxieyang commented 2 years ago

problem: 1: should be fixed (#81) 2: I think it's customary for production versions to behave like this?

suggest:

  1. It supports typescript already!
  2. feel free to add it to your fork (prettier commit hooks, etc.)! I would like to keep this boilerplate as simple as possible.