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
The babel plugin doesn't run on transpiled ts code so features like lodash import renaming, pure call annotation, and the dev expression plugin don't work.
Babel doesn't run on the output of the rollup-plugin-typescript2 unless "ts" is specified as an extension in the in the babel config. This is discussed here: ezolenko/rollup-plugin-typescript2#108
Expected behavior
Babel should run on output of the typescript plugin.
agilgur5
changed the title
Babel isn't runing
Babel isn't running -- need to add TS, TSX extensions to Babel config
Mar 10, 2020
agilgur5
changed the title
Babel isn't running -- need to add TS, TSX extensions to Babel config
Babel isn't running -- need to add TS, TSX extensions to rollup-plugin-babel config
Mar 10, 2020
Current Behavior
The babel plugin doesn't run on transpiled ts code so features like lodash import renaming, pure call annotation, and the dev expression plugin don't work.
Example bundle: https://github.com/jakegavin/tsdx-babel-issue/blob/master/dist/tsdx-babel-issue.cjs.development.js#L3
Babel doesn't run on the output of the rollup-plugin-typescript2 unless
"ts"
is specified as an extension in the in the babel config. This is discussed here: ezolenko/rollup-plugin-typescript2#108Expected behavior
Babel should run on output of the typescript plugin.
Example bundle: https://github.com/jakegavin/tsdx-babel-issue/blob/build-with-fixed-tsdx/dist/tsdx-babel-issue.cjs.development.js#L3
Suggested solution(s)
Add
"ts"
and"tsx"
extensions to the babel config. PR: #96Additional context
Your environment
The text was updated successfully, but these errors were encountered: