-
Notifications
You must be signed in to change notification settings - Fork 47.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't minify symbols in production builds
This disables symbol renaming in production builds. The original variable and function names are preserved. All other forms of compression applied by Closure (dead code elimination, inlining, etc) are unchanged — the final program is identical to what we were producing before, just in a more readable form. The motivation is to make it easier to debug React issues that only occur in production — the same reason we decided to start shipping sourcemaps in #28827 and #28827. However, because most apps run their own minification step on their npm dependencies, it's not necessary for us to minify the symbols before publishing — it'll be handled the app, if desired. This is the same strategy Meta has used to ship React for years. The React build itself has unminified symbols, but they get minified as part of Meta's regular build pipeline. Even if an app does not minify their npm dependencies, gzip covers most of the cost of symbol renaming anyway. This saves us from having to ship sourcemaps, which means even apps that don't have sourcemaps configured will be able to debug the React build as easily as they would any other npm dependency.
- Loading branch information
Showing
101 changed files
with
263 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
fixtures/legacy-jsx-runtimes/react-14/cjs/react-jsx-dev-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
/** @license React v0.14.10 | ||
* react-jsx-dev-runtime.production.min.js | ||
* react-jsx-dev-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';require("react");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0; | ||
'use strict'; | ||
require('react'); | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var a = Symbol.for; | ||
exports.Fragment = a('react.fragment'); | ||
} | ||
exports.jsxDEV = void 0; |
31 changes: 28 additions & 3 deletions
31
fixtures/legacy-jsx-runtimes/react-14/cjs/react-jsx-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,35 @@ | ||
/** @license React v0.14.10 | ||
* react-jsx-runtime.production.min.js | ||
* react-jsx-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=require("react/lib/ReactCurrentOwner"),n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q; | ||
'use strict'; | ||
var f = require('react'), | ||
g = 60103; | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var h = Symbol.for; | ||
g = h('react.element'); | ||
exports.Fragment = h('react.fragment'); | ||
} | ||
var m = require('react/lib/ReactCurrentOwner'), | ||
n = Object.prototype.hasOwnProperty, | ||
p = {key: !0, ref: !0, __self: !0, __source: !0}; | ||
function q(c, a, k) { | ||
var b, | ||
d = {}, | ||
e = null, | ||
l = null; | ||
void 0 !== k && (e = '' + k); | ||
void 0 !== a.key && (e = '' + a.key); | ||
void 0 !== a.ref && (l = a.ref); | ||
for (b in a) n.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]); | ||
if (c && c.defaultProps) | ||
for (b in ((a = c.defaultProps), a)) void 0 === d[b] && (d[b] = a[b]); | ||
return {$$typeof: g, type: c, key: e, ref: l, props: d, _owner: m.current}; | ||
} | ||
exports.jsx = q; | ||
exports.jsxs = q; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-runtime.development.js'); | ||
} |
11 changes: 9 additions & 2 deletions
11
fixtures/legacy-jsx-runtimes/react-15/cjs/react-jsx-dev-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
/** @license React v15.7.0 | ||
* react-jsx-dev-runtime.production.min.js | ||
* react-jsx-dev-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';require("react");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0; | ||
'use strict'; | ||
require('react'); | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var a = Symbol.for; | ||
exports.Fragment = a('react.fragment'); | ||
} | ||
exports.jsxDEV = void 0; |
31 changes: 28 additions & 3 deletions
31
fixtures/legacy-jsx-runtimes/react-15/cjs/react-jsx-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,35 @@ | ||
/** @license React v15.7.0 | ||
* react-jsx-runtime.production.min.js | ||
* react-jsx-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=require("react/lib/ReactCurrentOwner"),n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q; | ||
'use strict'; | ||
var f = require('react'), | ||
g = 60103; | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var h = Symbol.for; | ||
g = h('react.element'); | ||
exports.Fragment = h('react.fragment'); | ||
} | ||
var m = require('react/lib/ReactCurrentOwner'), | ||
n = Object.prototype.hasOwnProperty, | ||
p = {key: !0, ref: !0, __self: !0, __source: !0}; | ||
function q(c, a, k) { | ||
var b, | ||
d = {}, | ||
e = null, | ||
l = null; | ||
void 0 !== k && (e = '' + k); | ||
void 0 !== a.key && (e = '' + a.key); | ||
void 0 !== a.ref && (l = a.ref); | ||
for (b in a) n.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]); | ||
if (c && c.defaultProps) | ||
for (b in ((a = c.defaultProps), a)) void 0 === d[b] && (d[b] = a[b]); | ||
return {$$typeof: g, type: c, key: e, ref: l, props: d, _owner: m.current}; | ||
} | ||
exports.jsx = q; | ||
exports.jsxs = q; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-runtime.development.js'); | ||
} |
11 changes: 9 additions & 2 deletions
11
fixtures/legacy-jsx-runtimes/react-16/cjs/react-jsx-dev-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
/** @license React v16.14.0 | ||
* react-jsx-dev-runtime.production.min.js | ||
* react-jsx-dev-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';require("react");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0; | ||
'use strict'; | ||
require('react'); | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var a = Symbol.for; | ||
exports.Fragment = a('react.fragment'); | ||
} | ||
exports.jsxDEV = void 0; |
31 changes: 28 additions & 3 deletions
31
fixtures/legacy-jsx-runtimes/react-16/cjs/react-jsx-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,35 @@ | ||
/** @license React v16.14.0 | ||
* react-jsx-runtime.production.min.js | ||
* react-jsx-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q; | ||
'use strict'; | ||
var f = require('react'), | ||
g = 60103; | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var h = Symbol.for; | ||
g = h('react.element'); | ||
exports.Fragment = h('react.fragment'); | ||
} | ||
var m = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, | ||
n = Object.prototype.hasOwnProperty, | ||
p = {key: !0, ref: !0, __self: !0, __source: !0}; | ||
function q(c, a, k) { | ||
var b, | ||
d = {}, | ||
e = null, | ||
l = null; | ||
void 0 !== k && (e = '' + k); | ||
void 0 !== a.key && (e = '' + a.key); | ||
void 0 !== a.ref && (l = a.ref); | ||
for (b in a) n.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]); | ||
if (c && c.defaultProps) | ||
for (b in ((a = c.defaultProps), a)) void 0 === d[b] && (d[b] = a[b]); | ||
return {$$typeof: g, type: c, key: e, ref: l, props: d, _owner: m.current}; | ||
} | ||
exports.jsx = q; | ||
exports.jsxs = q; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-runtime.development.js'); | ||
} |
12 changes: 10 additions & 2 deletions
12
fixtures/legacy-jsx-runtimes/react-17/cjs/react-jsx-dev-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
/** @license React v17.0.0-rc.3 | ||
* react-jsx-dev-runtime.production.min.js | ||
* react-jsx-dev-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';require("object-assign");require("react");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0; | ||
'use strict'; | ||
require('object-assign'); | ||
require('react'); | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var a = Symbol.for; | ||
exports.Fragment = a('react.fragment'); | ||
} | ||
exports.jsxDEV = void 0; |
32 changes: 29 additions & 3 deletions
32
fixtures/legacy-jsx-runtimes/react-17/cjs/react-jsx-runtime.production.min.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,36 @@ | ||
/** @license React v17.0.0-rc.3 | ||
* react-jsx-runtime.production.min.js | ||
* react-jsx-runtime.production.js | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q; | ||
'use strict'; | ||
require('object-assign'); | ||
var f = require('react'), | ||
g = 60103; | ||
exports.Fragment = 60107; | ||
if ('function' === typeof Symbol && Symbol.for) { | ||
var h = Symbol.for; | ||
g = h('react.element'); | ||
exports.Fragment = h('react.fragment'); | ||
} | ||
var m = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, | ||
n = Object.prototype.hasOwnProperty, | ||
p = {key: !0, ref: !0, __self: !0, __source: !0}; | ||
function q(c, a, k) { | ||
var b, | ||
d = {}, | ||
e = null, | ||
l = null; | ||
void 0 !== k && (e = '' + k); | ||
void 0 !== a.key && (e = '' + a.key); | ||
void 0 !== a.ref && (l = a.ref); | ||
for (b in a) n.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]); | ||
if (c && c.defaultProps) | ||
for (b in ((a = c.defaultProps), a)) void 0 === d[b] && (d[b] = a[b]); | ||
return {$$typeof: g, type: c, key: e, ref: l, props: d, _owner: m.current}; | ||
} | ||
exports.jsx = q; | ||
exports.jsxs = q; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-dev-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-dev-runtime.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-jsx-runtime.production.min.js'); | ||
module.exports = require('./cjs/react-jsx-runtime.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-jsx-runtime.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/jest-react.production.min.js'); | ||
module.exports = require('./cjs/jest-react.production.js'); | ||
} else { | ||
module.exports = require('./cjs/jest-react.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-art.production.min.js'); | ||
module.exports = require('./cjs/react-art.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-art.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-cache.production.min.js'); | ||
module.exports = require('./cjs/react-cache.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-cache.development.js'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/react-client-flight.production.min.js'); | ||
module.exports = require('./cjs/react-client-flight.production.js'); | ||
} else { | ||
module.exports = require('./cjs/react-client-flight.development.js'); | ||
} |
Oops, something went wrong.