Allow for easier testing in local environments
Fix the deploy script and adjust README to be more geared toward using your local MediaWiki installation. Also add a note that Fresh, while recommended for build tasks, can't be used for the bin/ scripts.
With npm run build
you get the files exactly as they need to be for gadget deployment (CommonJS style, separate files for each module). npm run dev
or npm run watch
will compile all modules into a single JS file for easier testing on local environments.
Move server eslint config to the root, and the browser config to src/ which is the only place it applies.
Bug: T362913