Creates a distributable require.js asset.