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
In the case of the react plugin we went with we need to ensure it works approach and didn't really think about people want to swap out the react plugin. I guess this is not the case based on your needs.
In the current Wasp version, you can't use a custom react plugin. Maybe in the future we can do something about that:
Enable you to provide a full custom vite.config.ts but then you'll need to replicate the options we already had - and continue to make sure that the config is up to date with latest internal Wasp changes.
Enable you to override plugins completely, that is, to throw away Wasp's react plugin and use your own. Again, you'll need to then keep up with the internal changes Wasp does so your custom config matches.
Make the user config the main config and you import Wasp custom stuff inside (e.g. from wasp/dev/vite) so you can manually modify some of the Wasp options e.g. kick out a plugin and replace it with your own.
The text was updated successfully, but these errors were encountered:
One of our users had the need to customize the way our
react
plugin works to use ani18n
babel plugin: https://ptb.discord.com/channels/686873244791210014/812664118887841813/1325994905822302343Initial thoughts on the topic:
The text was updated successfully, but these errors were encountered: