-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
It would be awesome if there is a mode in the solid plugins in which a directive like 'solid-js' informs Babel that this file is using solid-js and so it should compile it using solid. This mode should ignore other files that do not have this directive.
This feature allows the incremental introduction of solid-js into a codebase that is already using other JSX libraries like React, etc.
I have written a babel plugin like this before (for other purposes). If you are interested, I can make a PR to help with the implementation.
https://github.com/atom-ide-community/babel-plugin-transform-not-strict
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request