How to optimize third-party libraries — Next.js · Smolify