Skip to content

Allow for easier testing in local environments

MusikAnimal requested to merge dev-build into main

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

Edited by MusikAnimal

Merge request reports