Open shadowtime2000 opened 3 years ago
What about a tree-shake parameter in an import so that it only imports what is needed?
tree-shake
import { render, parse } from "https://cdn.skypack.dev/eta?tree-shake=render,parse";
And it would eliminate everything that is guaranteed to not live.
+1, we've considered this before but were worried about making it less likely to get a cache hit. However, I think this feature is worth revisiting now.
What about a
tree-shake
parameter in an import so that it only imports what is needed?And it would eliminate everything that is guaranteed to not live.