Add more common Prettier plugin base paths (#20758)

Closes #19024

Release Notes:
- Added some more common Prettier plugin base paths
This commit is contained in:
SweetPPro 2024-11-16 12:20:52 +01:00 committed by GitHub
parent 516f7b3642
commit 21c785ede4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,6 +225,8 @@ impl Prettier {
prettier_plugin_dir.join("dist").join("index.mjs"),
prettier_plugin_dir.join("dist").join("index.js"),
prettier_plugin_dir.join("dist").join("plugin.js"),
prettier_plugin_dir.join("src").join("plugin.js"),
prettier_plugin_dir.join("lib").join("index.js"),
prettier_plugin_dir.join("index.mjs"),
prettier_plugin_dir.join("index.js"),
prettier_plugin_dir.join("plugin.js"),