Updated build script to output ES8 code

Updated build script to output code compatible with ECMAScript 2017 (ES8)
This commit is contained in:
amarcu5 2019-11-12 20:41:05 +00:00
parent afd7f285a9
commit af5194370f
5 changed files with 3 additions and 1 deletions

View File

@ -529,6 +529,8 @@ for target in "${targets[@]}"; do
${CCJS_PATH} \
"${compression_options[@]}" \
--warning_level VERBOSE \
--language_out ECMASCRIPT_2017 \
--output_wrapper "var a;a||(a=!0,(()=>{%output%})());" \
"${source_map_options[@]}" \
"${js_code[@]}" \
> "${absolute_entry%.*}.cjs"

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -10,7 +10,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0.3</string>
<key>CFBundleVersion</key>
<string>219</string>
<string>221</string>
<key>Developer Identifier</key>
<string>BQ6Q24MF9X</string>
<key>URL</key>