The enable-source-map Element"

From Documentation
(Created page with "{{ZKConfigurationReferencePageHeader}} '''Syntax:''' <enable-source-map>true|'''false'''</enable-source-map> [Default: <code>false</code>] It specifies whether to using s...")
 
Line 1: Line 1:
 
{{ZKConfigurationReferencePageHeader}}
 
{{ZKConfigurationReferencePageHeader}}
 +
 +
{{versionSince| 10.0.0}}
  
 
'''Syntax:'''
 
'''Syntax:'''
Line 6: Line 8:
 
  [Default: <code>false</code>]
 
  [Default: <code>false</code>]
  
It specifies whether to using source map to debug JavaScript files. By default, it is <code>false</code> and ZK loads the merged JavaScript files in the same package (*.wpd). Those files are roughly categorized by package (for example: zk or zul.wgt).
+
It specifies whether to using source map to debug JavaScript files. By default, it is <code>false</code> and ZK loads <code>*.wpd</code>, 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 <code>true</code>. Then, we can locate the JavaScript (TypeScript after ZK 10.0.0) files easily.
 
To debug JavaScript files with more precise directories and files, you can specify it to <code>true</code>. Then, we can locate the JavaScript (TypeScript after ZK 10.0.0) files easily.
  
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Revision as of 10:35, 7 May 2024


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.