You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suboptimal treeshaking on pure function calls #3256
It doesn't seem like esbuild is removing these pure function calls
import{html,clone,first_child,append,define}from"@intrnl/velvet/internal";lettemplate0=/*#__PURE__*/html("<div>hello</div>");functionsetup($$root,$$host){letfragment0=/*#__PURE__*/clone(template0);// these are deliberately commented out, though they are relevant// let child0 = /*#__PURE__*/ first_child(fragment0);// let child1 = /*#__PURE__*/ first_child(child0);// append($$root, fragment0);}exportdefaultdefine("x-app",setup,{},[]);
Does it matter if the REPL has said import externalized?
Activity