123456789101112 |
- # "production" enables minification for small file size, on "development" the code stays readable and debuggable - default is development
- # when using the `build-prod` and `build-dev` scripts, this setting is overridden, so it only applies to `npm run build`
- NODE_ENV="development" # "production" or "development"
- # HTTP port of the dev server where the userscript will be served (when using `npm run watch`) - defaults to 8710 if empty
- DEV_SERVER_PORT=
- # Whether to trigger the bell sound in some terminals when the code has finished (re)compiling - default is false
- RING_BELL=false
- # optional suffix to add just before the .user.js of the output file (for use with CI or build scripts to build the file as BetterYTM.min.user.js)
- # OUTFILE_SUFFIX=".min"
|