move relative path in react-sdk to webpack config file

otherwise react-sdk can't build anymore with riot-web
in a specific location
This commit is contained in:
Bruno Windels 2019-02-18 16:25:19 +01:00
parent 070cc77e0f
commit 223d8a87ca

View file

@ -162,8 +162,8 @@ module.exports = {
'process.env': {
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
},
'LANGUAGES_FILE': "'../../riot-web/webapp/i18n/languages.json'", // relative to languageHandler.js in matrix-react-sdk
}),
new ExtractTextPlugin("bundles/[hash]/[name].css", {
allChunks: true,
}),