Upgrade to ECMAScript 6
[plack-app-gruntmaster.git] / make_static.PL
index 44ef19e253ea28cde50b7f92d0643477f8d62f2a..0d8d10b873a5dee5f6db1ae50cb885fe9829fb3b 100644 (file)
@@ -30,7 +30,7 @@ sub make_css {
 }
 
 sub make_js {
-       system java => -jar => 'compiler.jar', qw,-O SIMPLE --create_source_map static/js/js.map --js_output_file static/js/all.js --language_in ECMASCRIPT5_STRICT --source_map_location_mapping js/|/static/js/,, <js/*>;
+       system java => -jar => 'compiler.jar', qw,-O SIMPLE --create_source_map static/js/js.map --js_output_file static/js/all.js --language_in ECMASCRIPT6_STRICT --language_out ECMASCRIPT5_STRICT --source_map_location_mapping js/|/static/js/,, <js/*>;
        my $js = read_file 'static/js/all.js';
        write_file 'static/js/all.js', '//# sourceMappingURL=/static/js/js.map', "\n", $js;
        system 'cp', '-rp', 'js', 'static/';
This page took 0.009276 seconds and 4 git commands to generate.