-
-
Notifications
You must be signed in to change notification settings - Fork 879
Closed
Labels
A-formatterArea - FormatterArea - Formatter
Description
Refs: #19255
This is similar to the issue that we already seen with support for the Prettier plugin.
- The implementation of the new Tailwind plugin maintains some references to
prettier/plugins/xxxwithstring - Since Oxfmt bundles
prettier, these cannot be resolved at runtime
Possible solution:
- A) Oxfmt side: Patch bundled file to use local module
- B) Plugin side: Use direct module reference instead of
string- Some modules are already doing this since used in implementation
- So, it's OK to align for at lease default plugins?
- (I'm not sure how to handle 3rd plugins though)
- C) Plugin side: Use native
import()rather than custom loading function- I don’t know the details though
- D) Any ideas...?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-formatterArea - FormatterArea - Formatter