Boilerplate for building Chrome Extensions in React and TypeScript using a simple Webpack build process.
npm i
to install dependanciesnpm start
to start running the fast development mode Webpack build process that bundle files into the dist
foldernpm i --save-dev <package_name>
to install new packageschrome://extensions/
Developer mode
in the top right cornerLoad unpacked
dist
foldernpm run build
to generate a minimized production build in the dist
folderdist
folder (e.g. dist.zip
)git init
to start a new git repo for tracking your changes, do an initial base commit with all the default filespackage.json
, important fields include author
, version
, name
and description
manifest.json
, important fields include version
, name
and description
webpack.commmon.js
, the title in the getHtmlPlugins
function should be your extension nameicon.png
instead of ../static/icon.png
)