File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 11
11
- uses : actions/checkout@v2-beta
12
12
with :
13
13
fetch-depth : 1
14
- - uses : preactjs/compressed-size-action@v1
14
+ - uses : preactjs/compressed-size-action@v2
15
15
with :
16
16
repo-token : ' ${{ secrets.GITHUB_TOKEN }}'
17
17
pattern : ' ./{dist,es,lib}/*.{js,mjs}'
Original file line number Diff line number Diff line change @@ -3,29 +3,8 @@ import combineReducers from './combineReducers'
3
3
import bindActionCreators from './bindActionCreators'
4
4
import applyMiddleware from './applyMiddleware'
5
5
import compose from './compose'
6
- import warning from './utils/warning'
7
6
import __DO_NOT_USE__ActionTypes from './utils/actionTypes'
8
7
9
- /*
10
- * This is a dummy function to check if the function name has been altered by minification.
11
- * If the function has been minified and NODE_ENV !== 'production', warn the user.
12
- */
13
- function isCrushed ( ) { }
14
-
15
- if (
16
- process . env . NODE_ENV !== 'production' &&
17
- typeof isCrushed . name === 'string' &&
18
- isCrushed . name !== 'isCrushed'
19
- ) {
20
- warning (
21
- 'You are currently using minified code outside of NODE_ENV === "production". ' +
22
- 'This means that you are running a slower development build of Redux. ' +
23
- 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' +
24
- 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' +
25
- 'to ensure you have the correct code for your production build.'
26
- )
27
- }
28
-
29
8
export {
30
9
createStore ,
31
10
legacy_createStore ,
You can’t perform that action at this time.
0 commit comments