Back out "Upgrade Prettier from 1.17 to 2.0.2."
Differential Revision: D20639755 fbshipit-source-id: 5028563f9cf0527a30b4259daac50cdc03934bfd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8658fca4dd
commit
37f0260116
@@ -80,7 +80,7 @@ module.exports = function (babel) {
|
||||
|
||||
if (
|
||||
BUILTINS.includes(source) ||
|
||||
BUILTINS.some(moduleName => source.startsWith(`${moduleName}/`))
|
||||
BUILTINS.some((moduleName) => source.startsWith(`${moduleName}/`))
|
||||
) {
|
||||
path.node.callee.name = 'electronRequire';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user