-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
plugins options support plugin instance too #5760
Copy link
Copy link
Labels
area:apiIssues with Prettier's Application Programming InterfaceIssues with Prettier's Application Programming Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Milestone
Metadata
Metadata
Assignees
Labels
area:apiIssues with Prettier's Application Programming InterfaceIssues with Prettier's Application Programming Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Environments:
Steps to reproduce:
I wanna to build a app target web(by standalone and external modules) and node,
I tried to donot explicit set plugin by explicit behavior in my code,
but the plugins option of standalone accept plugin instance, the otherwise accept a path,
Could we accept the plugin instacne too in the normal version? that maybe only a typeof pred statement but very helpful to me!
Expected behavior:
Actual behavior: