UNPKG

complugin-babel

Version:

complugin to compile bundles with the babel.

3 lines (2 loc) 340 B
import{addNamed as e}from"@babel/helper-module-imports";const l="\0complugin-plugin-babel-helpers";var r=function({types:r}){return{pre(t){const o=Object.create(null);t.set("helperGenerator",(p=>t.availableHelper(p)?o[p]?r.cloneNode(o[p]):o[p]=e(t.path,p,l):null))}}};export{l as HELPERS,r as default}; //# sourceMappingURL=helpers.mjs.map