mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: support -es5
flag (#12846)
This commit is contained in:
@ -11,6 +11,8 @@ Note that `js` defaults to the `node` codegen backend but it's also possible to
|
||||
For more general build help, see also `v help build`.
|
||||
|
||||
# Interfacing the Javascript Backend code generation, passing options to it:
|
||||
-es5
|
||||
Compile V to ES5 compatible code possibly shrinking output. Note that this flag might limit some types capabilities.
|
||||
-prod
|
||||
Do not create any JS Doc comments
|
||||
|
||||
@ -25,4 +27,4 @@ For more general build help, see also `v help build`.
|
||||
Include the orginal V source files into the generated source map
|
||||
(default false, all files in the source map are currently referenced by their absolute system file path)
|
||||
|
||||
The supported targets for the JS backend are: ES5 strict
|
||||
The supported targets for the JS backend are: ES6 strict
|
||||
|
Reference in New Issue
Block a user