diff --git a/package.json b/package.json index 51695d04..69b5f683 100644 --- a/package.json +++ b/package.json @@ -25,5 +25,11 @@ "redux-thunk": "2.3.0", "sanitize.css": "7.0.3", "serve": "10.1.2" - } + }, + "browserslist": [ + ">0.2%", + "not dead", + "not ie <= 11", + "not op_mini all" + ] } diff --git a/src/store.js b/src/store.js index 986180a1..9a85721e 100644 --- a/src/store.js +++ b/src/store.js @@ -1,10 +1,10 @@ import { createStore, applyMiddleware, compose } from 'redux' import { connectRouter, routerMiddleware } from 'connected-react-router' import thunk from 'redux-thunk' -import createHistory from 'history/createBrowserHistory' +import * as History from 'history' import rootReducer from './modules' -export const history = createHistory() +export const history = History.createBrowserHistory() const initialState = {} const enhancers = []