3 ms·
Conditionally yes. There are many libraries that cannot be tree shaken for various reasons. Libraries typically need to stick to a subset of full JS to ensure t
by ahzhou 2y ago
Conditionally yes. There are many libraries that cannot be tree shaken for various reasons. Libraries typically need to stick to a subset of full JS to ensure that the code can be statically analyzed.
- throwAGIway 2y agoBasically the only forbidden thing is dynamically calculating import paths, or dynamically generating the module.exports object.