CodePen's 2.0 Editor introduces npm package support by auto-detecting used packages, generating a package.json, and converting it into an importmap script tag that loads modules from esm.sh. The CodePen Compiler handles this pipeline quickly and handles edge cases behind the scenes.

1m read timeFrom blog.codepen.io
Post cover image
Table of contents
Time JumpsVideo Subscribe on YouTube
1 Comment

Sort: