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
In server.js, the resovle will get Component from dist which was transpiled by babel.
//.babelrc
{
"presets": ["next/babel"]
}
When fragment component is js, babel works well. But when fragment component is tsx, babel doesn't handle it. And when I import less in components/Fragment.tsx, the style file will not be transpiled to dist.
Could you please tell me what should I do, thx!
The text was updated successfully, but these errors were encountered:
In server.js, the resovle will get Component from dist which was transpiled by babel.
When fragment component is js, babel works well. But when fragment component is tsx, babel doesn't handle it. And when I import less in components/Fragment.tsx, the style file will not be transpiled to dist.
Could you please tell me what should I do, thx!
The text was updated successfully, but these errors were encountered: