RequireJS is...

... a JavaScript file and module loader. It is optimized for in-browser use

You can use it in CodePen. It actually works pretty well with our Asset Hosting feature.

You set a baseURL of where the assets are hosted, which could be anywhere, but is specifically...

https://s3-us-west-2.amazonaws.com/s.cdpn.io/

...if you're using our Asset Hosting.

Then you describe the different packages by name, subfolder, and file name. The subfolder is the only weird thing. It will be your user ID, which you can see in any uploaded asset file path, like:

https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/200x200.jpg

My user ID there is "3", so that's what you would put for location when defining a package.

Here's a complete working example:

See the Pen Using RequireJS in Pens by Chris Coyier (@chriscoyier) on CodePen.