babel-plugin-transform-esx
EXPERIMENTAL
Highly Experimental
If you are using this already, consider changes soon due the discussion around current ESX proposal.
Feel free to keep an eye on udomsay as that will be the implementation reference for consumers.
An ESX transformer as implementation reference.
Usage
# required only with polyfill "import" (default)
npm i --save @ungap/esxtoken
# required to transform ESX
npm i --save-dev @ungap/babel-plugin-transform-esx
// babel.config.json
{
"plugins": [["@ungap/transform-esx", { "polyfill": "import" }]]
}
Where the "polyfill"
option can be one of false
, "import"
(default), or "inline"
.