Use webpack alias to resolve the languages file
Hopefully this will end up simpler than having to figure out in riot-web what the relative path is from react-sdk's src/languageHandler.js to riot-web's webapp directory.
This commit is contained in:
parent
52a2fe1c9c
commit
63c6f600bf
2 changed files with 3 additions and 3 deletions
|
@ -23,5 +23,5 @@ ln -s "$REACT_SDK_DIR/node_modules/matrix-js-sdk" node_modules/matrix-js-sdk
|
|||
rm -r node_modules/matrix-react-sdk
|
||||
ln -s "$REACT_SDK_DIR" node_modules/matrix-react-sdk
|
||||
|
||||
RIOT_LANGUAGES_FILE="../riot-web/webapp/i18n/languages.json" npm run build
|
||||
npm run build
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue