[Pkg-javascript-devel] Bug#990458: babel umd support is limited
Pirate Praveen
praveen at onenetbeyond.org
Sun Jul 4 17:33:19 BST 2021
On Sat, 03 Jul 2021 23:01:35 +0530 Pirate Praveen
<praveen at 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.
More information about the Pkg-javascript-devel
mailing list