1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-01 22:26:24 -07:00

Update frontend README

This commit is contained in:
Eggbertx 2022-08-11 15:12:09 -07:00
parent 15bc585424
commit 1d04817f65

View file

@ -15,7 +15,9 @@ npm install
## Building
You can technically use the npm build script directly for building gochan.js, but it's more convenient to just run `./build.py js` from the gochan repo root directory.
If you want to build it without minification, run `./build.py js --nominify`. If you want to have it watch the JS files for changes and rebuild them when you make any in realtime, use the `--watch` flag.
If you want to have it watch the JS files for changes and rebuild them when you make any in realtime, use the `--watch` flag.
If you want to run [ESLint](https://eslint.org/) on the JS code to find potential issues, use the `--eslint` flag, or the `--eslint-fix` flag to have ESLint try to automatically fix some issues it finds.
To install your gochan.js after building it, run `./build.py install --js`.