-
Notifications
You must be signed in to change notification settings - Fork 3
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
[question] Can this be used in compilerOptions
?
#64
Comments
This plugin is a transformer plugin, |
@Andarist Do you have any plan to write a Language service plugin for emotion? Maybe I can help you. |
I havent planned to write one, was interested only in transformer plugin for other project. It’s real bummer that those cannot be configured in regular way. Do you have any ideas what language service plugin could do for emotion? |
What's the status on this? Emotion doesn't allow you to modify the |
@nicmosc maybe you need https://github.com/cevek/ttypescript |
@Brooooooklyn thanks for the suggestion, the tool looks interesting but not sure how to use this plugin as a transformer, though you do mention above that this is a transformer plugin 🤔 tried this configuration, let me know if you can help out, otherwise i'll look further into it! ... rest of tsconfig.json
"declaration": true,
"declarationMap": true,
"plugins": [
{
"transform": "emotion-ts-plugin",
"import": "createEmotionPlugin",
"sourceMap": false,
"autoLabel": true,
"labelFormat": "[filename]__[local]"
}
] |
Scrap that, the transformer seems to be invoked correctly when using |
I'm wondering if this plugin (or similar) can be added in
compilerOptions.plugins
? Or does that API doesn't accept transformer plugins?The text was updated successfully, but these errors were encountered: