rollup / rollup-plugin-babel

This package has moved and is now available at @rollup/plugin-babel / https://github.com/rollup/plugins/tree/master/packages/babel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find rollupPluginBabelHelpers.js

samrith-s opened this issue · comments

I'm using Rollup and Typescript to bundle my library. I'm using this plugin to allow custom .babelrc. The thing is, whenever I run build, it gives me this error:
image

Is there any way to fix this? I really need this to convert TS interfaces to PropsTypes! 😞

Here is the repository: https://github.com/samrith-s/enkel

@samrith-s any updates?

@samrith-s Have the same issue. Struggling with this for a long time now. Any idea on how to solve this? Thanks.

No updates at all. I've stopped development on that, currently, and soon will be switching back to JavaScript for that library.

A fix for this is rather simple - put TS plugin before babel plugin in your plugins array. Sorry that you had to wait for an answer for so long.