mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
add fetch polifill
This commit is contained in:
parent
1a21e16710
commit
a7c844d716
42
frontend/dist/bundle.js
vendored
42
frontend/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
2
frontend/dist/bundle.js.map
vendored
2
frontend/dist/bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@ -41,7 +41,8 @@
|
||||
"react-router": "^3.0.0",
|
||||
"react-toolbox": "^1.2.1",
|
||||
"redux": "^3.6.0",
|
||||
"redux-thunk": "^2.1.0"
|
||||
"redux-thunk": "^2.1.0",
|
||||
"whatwg-fetch": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.14.0",
|
||||
|
@ -1,3 +1,4 @@
|
||||
import 'whatwg-fetch';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { Router, Route, IndexRedirect, hashHistory } from 'react-router';
|
||||
|
@ -5,7 +5,7 @@ const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
|
||||
const entry = ['./src/index'];
|
||||
const entry = ['whatwg-fetch', './src/index'];
|
||||
const plugins = [new ExtractTextPlugin('bundle.css', { allChunks: true })];
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
|
Loading…
Reference in New Issue
Block a user