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
{{ message }}
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This will give us ability to get sources of example very easily and create a toggle with JS and TS in docs. BTW, this will allow us to drop raw-loader 😄
We will need to write a small plugin that will transform imports:
Input
Solution
Semantic UI React has a plugin that simply writes sources to a JSON file.
I have an idea about similar solution, but more advanced. We can use
babel
andbabel-preset-typescript
to generate following structure:This will give us ability to get sources of example very easily and create a toggle with JS and TS in docs. BTW, this will allow us to drop
raw-loader
😄We will need to write a small plugin that will transform imports:
Quick POC: https://codesandbox.io/s/yv285k54lx
The text was updated successfully, but these errors were encountered: