« * K @rachsmith.com

Chris Coyier @chriscoyier.net

2026-03-10 22:00 UTC

The way our @codepen.io 2.0 editor deals with npm packages is pretty cool. 1. Detect package usage 2. Create/edit `package.json` file to reflect needed packages 3. Inject an `<script type="importmap">` into any HTML produced by compiler Here's using React in 53 seconds.

47 likes, 6 reposts, 1 replies

3 Next post4 More from @chriscoyier.netBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup