The admin page often failed to load the list of locales and countries, due to obscure Webpack chunk loading errors. Toggling the extension doesn't always fix this.
This PR shifts from Webpack code splitting to generating raw JSON assets, and loading these via fetch().
Sorry @datitisev :((((
Confirmed
[x] Frontend changes: tested on a local Flarum installation.
[x] Backend changes: tests are green (run composer test).
Changes proposed in this pull request:
The admin page often failed to load the list of locales and countries, due to obscure Webpack chunk loading errors. Toggling the extension doesn't always fix this.
This PR shifts from Webpack code splitting to generating raw JSON assets, and loading these via
fetch()
.Sorry @datitisev :((((
Confirmed
composer test
).