No need for .babelrc

pull/21833/head
Richard van der Hoff 2016-03-28 17:47:06 +01:00
parent d7801ef3a4
commit c516ecebcc
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +0,0 @@
{
"presets": ["react", "es2015"]
}

View File

@ -5,6 +5,12 @@ var path = require('path');
/* /*
* It's a pain to have to wait for webpack to build everything; however it's * 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. * 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) { module.exports = function (config) {
config.set({ config.set({
@ -68,6 +74,9 @@ module.exports = function (config) {
include: [path.resolve('./src'), include: [path.resolve('./src'),
path.resolve('./test'), path.resolve('./test'),
], ],
query: {
presets: ['react', 'es2015']
},
}, },
], ],
noParse: [ noParse: [