Set a resuire alias for the webapp directory
So languagehandler can pull the languages json from there
This commit is contained in:
parent
6206b1d073
commit
53e25ff247
2 changed files with 3 additions and 12 deletions
|
@ -14,11 +14,7 @@ else
|
|||
fi
|
||||
|
||||
npm run clean
|
||||
# riot-web is at `workspace`.
|
||||
# matrix-react-sdk is at `workspace/node_modules/matrix-react-sdk`, but this is
|
||||
# symlinked to a repo at `workspace/matrix-react-sdk`.
|
||||
# To get from `workspace/matrix-react-sdk/lib` up to the lang file, we use:
|
||||
RIOT_LANGUAGES_FILE="../../webapp/i18n/languages.json" npm run build$dev
|
||||
npm run build$dev
|
||||
|
||||
# include the sample config in the tarball. Arguably this should be done by
|
||||
# `npm run build`, but it's just too painful.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue