Closed Trinovantes closed 3 years ago
Ok, but how do I get the hljs
object if I wish to customize it? Or I guess you'd just import it and reference it and that magically fixes it since now it's not optimized out? LOL
Feels like we need to explain both cases?
Good point, I'll update the PR
Modern bundlers will optimize out unused imported names. Importing the module directly will indicate that it is a side effect and should not be optimized out.
Fix #18