6e693c6c37
* Implement `getRegionData` in web - Adjust __dirname to be a more sensible value - Add `process.env.GEOLOCATION_NAMES` for web builds to avoid having to blindly try and fetch * Reverting webpack changes * Change `indexOf` to `includes` Co-authored-by: absidue <48293849+absidue@users.noreply.github.com> * Adding a new helper `createWebURL` It takes a given path to a resource, and it returns an easily fetch-able absolute path * Using `createWebUrl` inside of the locale fetch * Using `createWebURL` inside of `getRegionData` * Removing an unnecessary leftover import * Wait, no I was mistaken Co-authored-by: absidue <48293849+absidue@users.noreply.github.com> |
||
---|---|---|
.. | ||
ProcessLocalesPlugin.js | ||
build.js | ||
dev-runner.js | ||
webpack.main.config.js | ||
webpack.renderer.config.js | ||
webpack.web.config.js | ||
webpack.workers.config.js |