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 has been archived by the owner on Feb 19, 2020. It is now read-only.
Some npm packages might need babel plugins to work properly such as styled-components. When doing SSR, it needs a babel plugin to sync client and server classNames. See more
However, when I use barbatus:typescript, the .babelrc file become useless. All babel plugins won't work.
I hope babel plugins can still be supported when we use TS with barbatus:typescript
The text was updated successfully, but these errors were encountered:
This could be solved if the .ts files are run through the ecmascript builder after being processed by typescript. Effectively a double compile step. But this is how all webpack based projects handle it.
We could then preserve jsx in typescript, and handle that by babel.
Some npm packages might need babel plugins to work properly such as
styled-components
. When doing SSR, it needs a babel plugin to sync client and server classNames. See moreHowever, when I use
barbatus:typescript
, the.babelrc
file become useless. All babel plugins won't work.I hope babel plugins can still be supported when we use TS with
barbatus:typescript
The text was updated successfully, but these errors were encountered: