Move babel-polyfill to loadtests.js

This commit is contained in:
Ignat Shining
2016-02-08 10:15:28 +03:00
parent eceb3c6a28
commit de2e4bb5eb
3 changed files with 2 additions and 1 deletions
+1
View File
@@ -109,3 +109,4 @@ react-webpack-template is available under MIT-License and can therefore be used
- Martin Jul (martin@mjul.com) - Martin Jul (martin@mjul.com)
- Stephan Herzog (sthzgvie@gmail.com) - Stephan Herzog (sthzgvie@gmail.com)
- Kashif Iqbal Khan - Kashif Iqbal Khan
- Ignat Shining (mail@igonato.com)
-1
View File
@@ -5,7 +5,6 @@ module.exports = function(config) {
basePath: '', basePath: '',
browsers: [ 'PhantomJS' ], browsers: [ 'PhantomJS' ],
files: [ files: [
'node_modules/babel-polyfill/dist/polyfill.js',
'test/loadtests.js' 'test/loadtests.js'
], ],
port: 8080, port: 8080,
+1
View File
@@ -1,5 +1,6 @@
'use strict'; 'use strict';
require('babel-polyfill');
require('core-js/fn/object/assign'); require('core-js/fn/object/assign');
// Add support for all files in the test directory // Add support for all files in the test directory