-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compiling custom plugins without built-in Babel and TS #1645
Comments
Hey! Let me see if I can update the example plugin - sorry for the hassle! |
Hey! Just a heads up that I've created a new sample plugin over here. I really wish we could export the types for https://github.com/Foundry376/Mailspring-Plugin-Starter Hope that helps! If you could open issues there with any questions you have that'd be really great! |
Thank you for this example plugin. |
Hey, thank you for the example plugin! I will dive into this. |
I'm new to JavaScript programming with React, using compilers etc.
Now I'm trying to create a custom plugin in Mailspring (with debug flags). When I create a plugin and name this, it creates a project directory with a
lib/main.es6
file and some React files (as a sample plugin) inside the same directory. When I try to use this sample plugin I get the following error message:I figured I need to use a compiler on the
main.es6
file, but which one and how? Also, how can I get the compiled (vanilla) JS file to get picked up by Mailspring in order to execute the code?It would be great if someone could help with getting the sample plugin working, thanks.
The text was updated successfully, but these errors were encountered: