:language-out

compiler optionsince v0.0-2197Edit

Set the output language for Google Closure Compiler.

:language-out :no-transpile ;; default

Details:

Available options (:ecmascript... can be replaced with :es... as shorthand):

  • :no-transpile - use the same option from :language-in
  • :ecmascript3 - 90's JavaScript
  • :ecmascript5 - Traditional JavaScript
  • :ecmascript5-strict - Nitpicky, traditional JavaScript
  • :ecmascript6-typed - A superset of ES6 which adds Typescript-style type declarations. Always strict.
  • :ecmascript-2015 - ECMAScript standard approved in 2015
  • :ecmascript-2016 - ECMAScript standard approved in 2016. Adds the exponent operator **.
  • :ecmascript-2017 - ECMAScript standard approved in 2017. Adds async/await.
  • :ecmascript-next - ECMAScript latest draft standard.

See Also: