Skip to content

Commit 9caba57

Browse files
authored
Merge pull request element-hq#2921 from vector-im/dbkr/update_readme_for_js_sdk_transpiled
Update README now the js-sdk has a transpile step
2 parents 97fc92b + 27e311f commit 9caba57

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ to build.
5757
1. Switch to the vector-web directory: `cd vector-web`
5858
1. Install the prerequisites: `npm install`
5959
1. If you are using the `develop` branch of vector-web, you will probably need
60-
to rebuild one of the dependencies, due to
61-
https://github.com/npm/npm/issues/3055: `(cd node_modules/matrix-react-sdk
62-
&& npm install)`
60+
to rebuild some of the dependencies, due to
61+
https://github.com/npm/npm/issues/3055:
62+
63+
```
64+
(cd node_modules/matrix-js-sdk && npm install)
65+
(cd node_modules/matrix-react-sdk && npm install)
66+
```
6367
1. Configure the app by copying `config.sample.json` to `config.json` and
6468
modifying it (see below for details)
6569
1. `npm run dist` to build a tarball to deploy. Untaring this file will give
@@ -241,10 +245,10 @@ Finally, build and start Riot itself:
241245
disables caching, so do NOT use it in production.
242246
1. Open http://127.0.0.1:8080/ in your browser to see your newly built Riot.
243247
244-
When you make changes to `matrix-react-sdk`, you will need to run `npm run
245-
build` in the relevant directory. You can do this automatically by instead
246-
running `npm start` in the directory, to start a development builder which
247-
will watch for changes to the files and rebuild automatically.
248+
When you make changes to `matrix-react-sdk` or `matrix-js-sdk`, you will need
249+
to run `npm run build` in the relevant directory. You can do this automatically
250+
by instead running `npm start` in the directory, to start a development builder
251+
which will watch for changes to the files and rebuild automatically.
248252
249253
If you add or remove any components from the Riot skin, you will need to rebuild
250254
the skin's index by running, `npm run reskindex`.

0 commit comments

Comments
 (0)