ts-runtime-checks
ts-runtime-checks copied to clipboard
transform the code with babel or with a string
we use babel and cannot use ts-loader patch etc...
we have a plugin that take a ts containing the string, want to pass it to your package and then send the new string back to babel.
how we could do that?
Hi! I think the easiest way to do it would be to setup typescript + ts-patch to transpile your code to javascript in a specific folder, and then let babel take it from there using the already transpiled javascript.
The thing is that we don't control the build. It's meteor that use Babel.