Use $webapp rather than Webapp

pull/21833/head
David Baker 2019-03-01 12:03:04 +00:00
parent f2328904cd
commit 4f84311bde
1 changed files with 2 additions and 2 deletions

View File

@ -340,8 +340,8 @@ function getLangsJson() {
return new Promise((resolve, reject) => {
let url;
try {
// Webapp is a webpack resolve alias pointing to the output directory, see webpack config
url = require('Webapp/i18n/languages.json');
// $webapp is a webpack resolve alias pointing to the output directory, see webpack config
url = require('$webapp/i18n/languages.json');
} catch (e) {
url = i18nFolder + 'languages.json';
}