./lib/lux_assets/element.rb in lux_assets-0.2.23 vs ./lib/lux_assets/element.rb in lux_assets-0.2.24
- old
+ new
@@ -45,10 +45,10 @@
@source.write ERB.new(data).result
end
end
def compile_coffee
- coffee_path = './node_modules/coffee-script/bin/coffee'
+ coffee_path = './node_modules/coffeescript/bin/coffee'
coffee_opts = @production ? '-cp' : '-Mcp --no-header'
if LuxAssets::Cli.run("#{coffee_path} #{coffee_opts} '#{@source}' > '#{@cache}'", cache_file: @cache, message: "Compile Coffee: #{@source}")
data = @cache.read
data = data.gsub(%r{//#\ssourceURL=[\w\-\.\/]+/app/assets/}, '//# sourceURL=/raw_asset/')
\ No newline at end of file