./lib/lux_assets/element.rb in lux_assets-0.2.15 vs ./lib/lux_assets/element.rb in lux_assets-0.2.19
- old
+ new
@@ -74,9 +74,9 @@
def compile_js
";\n%s\n;" % @source.read
end
def compile_ts
- LuxAssets::Cli.run "node_modules/typescript/.bin/tsc --outFile '#{@cache}' '#{@source}'", cache_file: @cache, message: "Compile TypeScript: #{@source}"
+ LuxAssets::Cli.run "./node_modules/typescript/.bin/tsc --outFile '#{@cache}' '#{@source}'", cache_file: @cache, message: "Compile TypeScript: #{@source}"
end
end
\ No newline at end of file