Merge branch 'develop' into travis/fix-ci
This commit is contained in:
commit
4e37f8aa88
11 changed files with 1492 additions and 850 deletions
|
@ -93,22 +93,13 @@ module.exports = (env, argv) => {
|
|||
// optimised, so there is little to gain by us uglifying it.
|
||||
/olm[\\\/](javascript[\\\/])?olm\.js$/,
|
||||
],
|
||||
rules: [
|
||||
rules: [
|
||||
{
|
||||
test: /\.(ts|js)x?$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
cacheDirectory: true,
|
||||
|
||||
// These two options are needed to load the babelrc file and
|
||||
// apply it to node_modules (ie: react-sdk and js-sdk). We
|
||||
// could put the babel config in this block instead, but we
|
||||
// publish riot-web to npm for some reason and that seems to
|
||||
// ship a lib directory. Therefore, we need the babel config
|
||||
// in a place where babel and babel-loader can reach it.
|
||||
babelrc: true,
|
||||
configFile: path.resolve(__dirname, ".babelrc"),
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue