Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for allowList of export names #29

Closed
aaronadamsCA opened this issue Oct 23, 2023 · 3 comments
Closed

Add option for allowList of export names #29

aaronadamsCA opened this issue Oct 23, 2023 · 3 comments

Comments

@aaronadamsCA
Copy link

Remix adds special handling of specific named exports to make them work with Fast Refresh.

I'd like to be able to pass this plugin a config like { allowExportNames: ["meta", "links", "headers", "loader", "action"] } so I can make sure my Remix route components are compatible with Fast Refresh.

@ArnaudBarre
Copy link
Owner

Cool to this that!
I will work on that this week!

@ArnaudBarre
Copy link
Owner

Released in v0.4.4

@aaronadamsCA
Copy link
Author

Thank you, it works perfectly! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants