mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 16:01:17 +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)
|
||||
- Stephan Herzog (sthzgvie@gmail.com)
|
||||
- Kashif Iqbal Khan
|
||||
- Ignat Shining (mail@igonato.com)
|
||||
|
||||
@@ -5,7 +5,6 @@ module.exports = function(config) {
|
||||
basePath: '',
|
||||
browsers: [ 'PhantomJS' ],
|
||||
files: [
|
||||
'node_modules/babel-polyfill/dist/polyfill.js',
|
||||
'test/loadtests.js'
|
||||
],
|
||||
port: 8080,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
require('babel-polyfill');
|
||||
require('core-js/fn/object/assign');
|
||||
|
||||
// Add support for all files in the test directory
|
||||
|
||||
Reference in New Issue
Block a user