Skip to content

Commit 223d8a8

Browse files
committed
move relative path in react-sdk to webpack config file
otherwise react-sdk can't build anymore with riot-web in a specific location
1 parent 070cc77 commit 223d8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ module.exports = {
162162
'process.env': {
163163
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
164164
},
165+
'LANGUAGES_FILE': "'../../riot-web/webapp/i18n/languages.json'", // relative to languageHandler.js in matrix-react-sdk
165166
}),
166-
167167
new ExtractTextPlugin("bundles/[hash]/[name].css", {
168168
allChunks: true,
169169
}),

0 commit comments

Comments
 (0)