You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Farm uses @farmfe/plugin-react to configure rust plugins and uses farmSassPlugin({}) to configure js plugins. It's in consistent and it's hard to add types for rust plugin options.
What problem does this feature solve?
Configuring rust plugins and js plugins in farm.config.ts uses different methods currently, for example:
Farm uses
@farmfe/plugin-react
to configure rust plugins and usesfarmSassPlugin({})
to configure js plugins. It's in consistent and it's hard to add types for rust plugin options.we need to normalize this 2 methods.
What does the proposed API look like?
using new
react({})
strategy to configuring rust plugin, and keep the old ways compatible.The text was updated successfully, but these errors were encountered: