-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
[RFC] Supports jsx
file extensions
#356
Comments
Thanks for the RFC! Would you like to spearhead this initiative? @pd4d10 |
js
file extensionsjs
file extensions
Sure, I'll try to look into it |
A couple challenges on top of my mind:
Technically... you can just use Rescript or Flow in a separate bundling process and import your files into an entry file within Plasmo. It's an extra build step but it will allow you to use js/whatever you like in your extension. The key part that need to be |
js
file extensionsjsx
file extensions
* feat: supports js extension for react and vanilla ui closes #356 * Adding jsx * use jsx instead of js Co-authored-by: L <[email protected]>
How do you envision this feature/change to look/work like?
Currently,
background.ts
,content.tsx
andpopup.tsx
are the name conventions to create different type of pages. It would be great to also supportbackground.js
,content.js
andpopup.js
.What is the purpose of this change/feature? Why?
To support dev languages other than TypeScript, for example Flow or ReScript
(OPTIONAL) Example implementations
No response
(OPTIONAL) Contact Details
No response
Verify canary release
plasmo
canary releaseCode of Conduct
The text was updated successfully, but these errors were encountered: