Skip to content

7nik/test-svelte-userscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing project for creating a userscripts using Svelte and Rollup.

Get started

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.

Building and running in production mode

To create an optimised version of the app:

npm run build