mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Remove now unnecessary tweaking of global
Summary: public When we were debugging in the main window JS context in Chrome, the global environment had to be tweaked so that DOM features wouldn’t be detected. Since we switched to debugging within a web worker, we don’t need to do this tweaks any more. Reviewed By: bestander Differential Revision: D2850239 fb-gh-sync-id: 886f2f7ac5c579c3fd4a424d5341bc6bc0432c0d
This commit is contained in:
committed by
facebook-github-bot-7
parent
4362e98170
commit
2902701566
@@ -79,11 +79,6 @@ function getPackagerServer(args, config) {
|
||||
assetRoots: args.assetRoots,
|
||||
assetExts: ['png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp'],
|
||||
resetCache: args.resetCache || args['reset-cache'],
|
||||
polyfillModuleNames: [
|
||||
require.resolve(
|
||||
'../../Libraries/JavaScriptAppEngine/polyfills/document.js'
|
||||
),
|
||||
],
|
||||
verbose: args.verbose,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user