The enable-source-map Element

From Documentation
Revision as of 10:35, 7 May 2024 by Hawk (talk | contribs)


The enable-source-map Element


Since 10.0.0

Syntax:

<enable-source-map>true|false</enable-source-map>
[Default: false]

It specifies whether to using source map to debug JavaScript files. By default, it is false and ZK loads *.wpd, the merged JavaScript files of the same package. Those files are roughly categorized by package (e.g. zk.wpd or zkbind.wpd).

To debug JavaScript files with more precise directories and files, you can specify it to true. Then, we can locate the JavaScript (TypeScript after ZK 10.0.0) files easily.



Last Update : 2024/05/07

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.