This template is based on Webpack and webpack-userscript, written in TypeScript.
To use user scripts you need to first install a user script manager. Which user script manager you can use depends on which browser you use.
chrome://flags/#allow-insecure-localhost
, enable insecure localhostchrome://extensions/?id=dhdgffkkebhmkfjojejmpbldmpobfkfo
(Chrome manage extensions page of Tampermonkey
) and enable Allow access to file URLs
(you need to manual reload page when dev userscript, see #475 for more detail)pnpm install
pnpm dev
https://localhost:8080/webpack-userscript-template.proxy.user.js
in browser (click Advanced -> proceed if it shows a security warning) to install the proxy script.