mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
No need for .babelrc
This commit is contained in:
parent
d7801ef3a4
commit
c516ecebcc
2 changed files with 9 additions and 3 deletions
3
.babelrc
3
.babelrc
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"presets": ["react", "es2015"]
|
||||
}
|
|
@ -5,6 +5,12 @@ var path = require('path');
|
|||
/*
|
||||
* It's a pain to have to wait for webpack to build everything; however it's
|
||||
* the easiest way to load our dependencies from node_modules.
|
||||
*
|
||||
* TODO:
|
||||
* - how do we stub out the js-sdk
|
||||
* - can we run one test at a time
|
||||
* - can we can we run under phantomjs/jsdom?
|
||||
* - write junit out
|
||||
*/
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
|
@ -68,6 +74,9 @@ module.exports = function (config) {
|
|||
include: [path.resolve('./src'),
|
||||
path.resolve('./test'),
|
||||
],
|
||||
query: {
|
||||
presets: ['react', 'es2015']
|
||||
},
|
||||
},
|
||||
],
|
||||
noParse: [
|
||||
|
|
Loading…
Reference in a new issue