You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been trying to use this plugin to apply custom labels to the generated emotion css output, but to no avail.
First following the proposed configuration with webpack and ts-loader, but the generated code does not take any of the options in the plugin into account. Here is the minimal config:
Then I also tried an alternative approach: transpiling the tsx and ts files with the typescript compiler. There you need to use ttypescript to apply custom transformers, which I did using this configuration in the tsconfig file:
Been trying to use this plugin to apply custom labels to the generated emotion css output, but to no avail.
First following the proposed configuration with webpack and ts-loader, but the generated code does not take any of the options in the plugin into account. Here is the minimal config:
Then I also tried an alternative approach: transpiling the
tsx
andts
files with the typescript compiler. There you need to usettypescript
to apply custom transformers, which I did using this configuration in thetsconfig
file:Again, this does not consider any of the options for the
emotion-ts-plugin
and labels are still kept as the basic hash.Here are all the versions I'm using:
The text was updated successfully, but these errors were encountered: