How to perform local development and debugging - techmovie/easy-upload GitHub Wiki
The project uses vite-plugin-monkey. To avoid Content-Security-Policy errors on some sites, it is recommended to install the Disable-CSP extension at first.
- Run
yarnto install the dependencies. - Use
yarn devto start the project. On the first run, the script will be installed automatically. If there are any file changes, the browser will automatically refresh.
Commands
yarn dev: start the project, and watch the files changes under src folder.yarn commit: Commit your changes and normalize the commit message.yarn icon [file name of site under src/config folder]: update the icon fieldyarn support: update theSUPPORTED.mdfile, should be executed whenever a site config file is added or removedyarn build: In most of the scenarios, no need to run this command. DO NOT commit the changes for the dist folder.