On Sat, 03 Jul 2021 23:01:35 +0530 Pirate Praveen
<prav...@onenetbeyond.org> wrote:
> I switched to rollup for generating umd and removed
add-module-exports
> plugin and it is working now. Possibly defining "autosize" global
with
> @babel/plugin-transform-modules-umd without add-module-exports plugin
> would have worked as well.
I tried this option today and it did not work. Looks like this is a
known limitaion of babel umd plugin.
https://github.com/babel/babel/issues/10696 so we will stick with
rollup.