mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 17:31:39 +08:00
Move babel-polyfill to loadtests.js
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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,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
|
||||||
|
|||||||
Reference in New Issue
Block a user