File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import combineReducers from './combineReducers'
44import bindActionCreators from './bindActionCreators'
55import applyMiddleware from './applyMiddleware'
66import compose from './compose'
7- import warning from './utils/warning'
87import __DO_NOT_USE__ActionTypes from './utils/actionTypes'
98
109// types
@@ -38,26 +37,6 @@ export { MiddlewareAPI, Middleware } from './types/middleware'
3837// actions
3938export { Action , AnyAction } from './types/actions'
4039
41- /*
42- * This is a dummy function to check if the function name has been altered by minification.
43- * If the function has been minified and NODE_ENV !== 'production', warn the user.
44- */
45- function isCrushed ( ) { }
46-
47- if (
48- process . env . NODE_ENV !== 'production' &&
49- typeof isCrushed . name === 'string' &&
50- isCrushed . name !== 'isCrushed'
51- ) {
52- warning (
53- 'You are currently using minified code outside of NODE_ENV === "production". ' +
54- 'This means that you are running a slower development build of Redux. ' +
55- 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' +
56- 'or setting mode to production in webpack (https://webpack.js.org/configuration/mode/) ' +
57- 'to ensure you have the correct code for your production build.'
58- )
59- }
60-
6140export {
6241 createStore ,
6342 combineReducers ,
You can’t perform that action at this time.
0 commit comments