mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Update www warning shim (#13244)
This commit is contained in:
1 parent
3d3506d37d
commit
5776fa3fcf
3 files changed
+3
-3
No files matched your search
@@ -150,12 +150,12 @@ const forks = Object.freeze({
|
||||
},
|
||||
|
||||
// This logic is forked on www to blacklist warnings.
|
||||
'shared/warning': (bundleType, entry) => {
|
||||
'shared/warningWithoutStack': (bundleType, entry) => {
|
||||
switch (bundleType) {
|
||||
case FB_WWW_DEV:
|
||||
case FB_WWW_PROD:
|
||||
case FB_WWW_PROFILING:
|
||||
return 'shared/forks/warning.www.js';
|
||||
return 'shared/forks/warningWithoutStack.www.js';
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user