@ungap/babel-plugin-transform-esx
v0.4.3
Published
An ESX transformer as implementation reference.
Downloads
44
Readme
babel-plugin-transform-esx
EXPERIMENTAL ⚠ THIS PROJECT IS BROKEN AND UNDER HEAVY REFACTORING - FEEL FREE TO PLAY WITH IT BUT DON'T USE IT IN PRODUCTION
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"
.