From 1d04817f65b361803d952594294894db07518bbe Mon Sep 17 00:00:00 2001 From: Eggbertx Date: Thu, 11 Aug 2022 15:12:09 -0700 Subject: [PATCH] Update frontend README --- frontend/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/README.md b/frontend/README.md index a45c951a..1eb7d3fb 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -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`.