Created
January 10, 2020 16:28
-
-
Save velut/de1fb2ce34c498a60a75a01b8b0d8d15 to your computer and use it in GitHub Desktop.
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
diff --git a/node_modules/prettier/index.js b/node_modules/prettier/index.js | |
index 96cfec8..d455497 100644 | |
--- a/node_modules/prettier/index.js | |
+++ b/node_modules/prettier/index.js | |
@@ -44202,7 +44202,8 @@ function _withPlugins(fn) { | |
var args = Array.from(arguments); | |
var opts = args[1] || {}; | |
args[1] = Object.assign({}, opts, { | |
- plugins: loadPlugins_1(opts.plugins, opts.pluginSearchDirs) | |
+ // WORKAROUND: Improve formatting performance | |
+ plugins: internalPlugins | |
}); | |
return fn.apply(null, args); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment