File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 17
17
"import" : " ./dist/react-error-boundary.cjs.mjs" ,
18
18
"default" : " ./dist/react-error-boundary.cjs.js"
19
19
},
20
+ "development" : {
21
+ "module" : " ./dist/react-error-boundary.development.esm.js" ,
22
+ "import" : " ./dist/react-error-boundary.development.cjs.mjs" ,
23
+ "default" : " ./dist/react-error-boundary.development.cjs.js"
24
+ },
20
25
"module" : " ./dist/react-error-boundary.esm.js" ,
21
26
"import" : " ./dist/react-error-boundary.cjs.mjs" ,
22
27
"default" : " ./dist/react-error-boundary.cjs.js"
23
28
},
24
29
"./package.json" : " ./package.json"
25
30
},
31
+ "imports" : {
32
+ "#is-development" : {
33
+ "development" : " ./src/env-conditions/development.ts" ,
34
+ "default" : " ./src/env-conditions/production.ts"
35
+ }
36
+ },
26
37
"types" : " dist/react-error-boundary.cjs.d.ts" ,
27
38
"files" : [
28
39
" dist"
Original file line number Diff line number Diff line change
1
+ export const isDevelopment = true ;
Original file line number Diff line number Diff line change
1
+ export const isDevelopment = false ;
You can’t perform that action at this time.
0 commit comments