This is a fork of chrome-extension-svelte-boilerplate by d-lowl
A boilerplate for Chrome Extensions using Svelte and Webpack with automatic refresh.
yarn
.package.json
.src/manifest.json
.yarn dev
All entry points of the content scripts should be excluded from hot reloading.
Add it to excludeEntriesToHotReload
in webpack.dev.js
.
excludeEntriesToHotReload: [myContentScript]
Default Port: 4444
. Change it in webpack.dev.js
.
yarn build
Place all your secrets in .env
.
Remember to add .env
to .gitignore
on your commit.