Testing project for creating a userscripts using Svelte and Rollup.
Install the dependencies...
cd test-svelte-userscript
npm install
...then start Rollup:
npm run dev
Install a script manager, e.g. Tampermonkey, open it, create a new usercript and copy content of build/calculator.user.js file, and save it.
Navitage to Google home page and enjoy the calculator.
To create an optimised version of the app:
npm run build