/babel-plugin-transform-esx

An ESX transformer as implementation reference.

Primary LanguageJavaScriptMIT LicenseMIT

babel-plugin-transform-esx

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".