mirror of https://github.com/vector-im/riot-web
move relative path in react-sdk to webpack config file
otherwise react-sdk can't build anymore with riot-web in a specific locationpull/8710/head
parent
070cc77e0f
commit
223d8a87ca
|
@ -162,8 +162,8 @@ module.exports = {
|
||||||
'process.env': {
|
'process.env': {
|
||||||
NODE_ENV: JSON.stringify(process.env.NODE_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", {
|
new ExtractTextPlugin("bundles/[hash]/[name].css", {
|
||||||
allChunks: true,
|
allChunks: true,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue