Skip to content

Instantly share code, notes, and snippets.

@velut
Created January 10, 2020 16:28
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