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
When I use babel-plugin-transform-typescript-metadata to enable tsyringe dependency injection, the ts-loader placed after the babel-loader causes the above babel plugin not to take effect, can provide a babel plugin for handling the relevant metadata in babel.
@deepkit/type is just so good that I wanted to introduce it in an existing project, but there are a lot of things that depend on babel, hence this request.
After a cursory look at the type-compiler related code, I think it should be easier to write a babel plugin based on the existing transformer, and if I have time, I will try to write a babel plugin based on type-compiler, er, I have never written a babel plugin, this may take a long time.
The text was updated successfully, but these errors were encountered:
When I use babel-plugin-transform-typescript-metadata to enable tsyringe dependency injection, the ts-loader placed after the babel-loader causes the above babel plugin not to take effect, can provide a babel plugin for handling the relevant metadata in babel.
@deepkit/type is just so good that I wanted to introduce it in an existing project, but there are a lot of things that depend on babel, hence this request.
After a cursory look at the type-compiler related code, I think it should be easier to write a babel plugin based on the existing transformer, and if I have time, I will try to write a babel plugin based on type-compiler, er, I have never written a babel plugin, this may take a long time.
The text was updated successfully, but these errors were encountered: