Is code a liability?
If you're in the JavaScript community, do you consider every line of code you or your team writes as a liability/risk to your project?
That being said there is always a balance between readability and maintainability versus terseness.
And if you reduce your application Loc count by depending on a big external dependencies you just move the problem around (it might be the right solution, you just have to be aware of it)
So yes, I tend to be in the camp considering that code is rather a liability than an asset.