It's really tedious having to update skin.json on every single rename of a file. Renaming should be cheap.
Currently we have to list files in packageFiles object in https://github.com/wikimedia/Vector/blob/master/skin.json#L96 so that require() can be used.
Most code editors are good at updating references to require statements when a file gets renamed, but they are not MediaWiki aware.
It's proposed ResourceLoader packageFiles accept a wildcard meaning "any file in this folder". I think this will save a lot of developer frustration.