./lib/lux_assets/asset.rb in lux_assets-0.2.15 vs ./lib/lux_assets/asset.rb in lux_assets-0.2.19

- old
+ new

@@ -79,10 +79,10 @@ end def compile_js save_data @data.join(";\n") do # babel fix and minify - command = 'node_modules/babel-cli/.bin/babel --minified --no-comments --compact true -o "%{file}" "%{file}"' % { file: @asset_path } + command = './node_modules/babel-cli/.bin/babel --minified --no-comments --compact true -o "%{file}" "%{file}"' % { file: @asset_path } LuxAssets::Cli.run command, message: "Babel filter and minify: #{@asset_path}" end end def compile_css \ No newline at end of file