(the goal being to eventually drop @babel/standalone (which is separate from using decorator-transforms, but... the reason to use decorator-transforms is a no-brainer: https://github.com/NullVoxPopuli/limber/issues/1671), and use the core @babel/* libraries directly to save on MB -- since @babel/standalone includes all plugins... which is a lot)
Related to: https://github.com/ef4/decorator-transforms/issues/20
Importing from
node:*
modules isn't allowed in the browser. (sure, one could polyfill it, but.. why?).This is how I'm trying to use decorator-transforms: https://github.com/NullVoxPopuli/limber/pull/1675
(the goal being to eventually drop
@babel/standalone
(which is separate from using decorator-transforms, but... the reason to use decorator-transforms is a no-brainer: https://github.com/NullVoxPopuli/limber/issues/1671), and use the core@babel/*
libraries directly to save on MB -- since@babel/standalone
includes all plugins... which is a lot)