1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: add debugging JS backend source map flags (#10460)

This commit is contained in:
Andreas Heissenberger 2021-06-15 03:43:51 +02:00 committed by GitHub
parent bdc8586ddd
commit f922fc2a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4013,10 +4013,11 @@ native backend (flag: `-b native`).
### Javascript Backend
There is currently no support for source maps for Javascript output,
created by the JS Backend (flag: `-b js`).
To debug the generated Javascript output you can active source maps:
`v -b js -sourcemap hello.v -o hello.js`
For all supported options check the latest help:
`v help build-js`
## Conditional compilation