maccman / sprockets-commonjs

Adds CommonJS support to Sprockets
178 stars 66 forks source link

Let's use .cjs instead of .module #11

Closed alekseykulikov closed 12 years ago

alekseykulikov commented 12 years ago

Because .module is very long sprockets option.

For old modules could add:

if ['.module', '.cjs'].include? scope.pathname.basename.to_s
maccman commented 12 years ago

Hmm - I like this idea.

maccman commented 12 years ago

I've added it to edge.

alekseykulikov commented 12 years ago

Thanks @maccman !