File tree 1 file changed +0
-21
lines changed 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'
4
4
import bindActionCreators from './bindActionCreators'
5
5
import applyMiddleware from './applyMiddleware'
6
6
import compose from './compose'
7
- import warning from './utils/warning'
8
7
import __DO_NOT_USE__ActionTypes from './utils/actionTypes'
9
8
10
9
// types
@@ -38,26 +37,6 @@ export { MiddlewareAPI, Middleware } from './types/middleware'
38
37
// actions
39
38
export { Action , AnyAction } from './types/actions'
40
39
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
-
61
40
export {
62
41
createStore ,
63
42
combineReducers ,
You can’t perform that action at this time.
0 commit comments