Install source-map-loader before building riot-web

This commit is contained in:
Richard van der Hoff 2017-01-19 17:41:58 +00:00
parent dee3495d51
commit af4ef1da8b

View file

@ -11,5 +11,10 @@ cd riot-web
mkdir node_modules mkdir node_modules
ln -s ../.. node_modules/matrix-react-sdk ln -s ../.. node_modules/matrix-react-sdk
npm install npm install
(cd node_modules/matrix-js-sdk && npm install) (cd node_modules/matrix-js-sdk && npm install)
# https://github.com/webpack/webpack/issues/1472 workaround
(cd node_modules/matrix-react-sdk && npm install source-map-loader)
npm run test npm run test