Project page card mainly has three functions
# Display Current Project Details
Include icon, AppID, Third-party platform name (displays only when the development Mini Program is from third-party platform), directory information, the time when the code was last submitted, and the code package size.
# Base Library Version Switch
Developers can choose any base library version here for development and debugging of older version compatibility issues.
# ES6 to ES5
In the 0.10.101000 and later Developer Tools, babel
is used by default to convert the developer ES6
syntax code to ES5
code that can be well supported on three sides, helping developers to solve development issues resulting from different environment.
What Have to Be Aware of Is:
- In order to improve the code quality, the
javasctipt
strict mode is enabled by default when the ʻES6` conversion function is enabled, please refer to "use strict"
# Compression Code
With this option enabled, Developer Tools will help developers compress javascript
code when uploading code, reducing the size of the code package.
Tips
- Currently, if a single file exceeds 500kb, it will consume a lot of memory, so files over 500kb will not be compressed [Details](https://developers.weixin.qq.com/blogdetail?action=get_post_info&lang= zh_CN&token=&docid=000e0696f084e0b0f21613f6a51804)
# Does Not Verify the Requested Domain Name and TLS Version
The officially-released network request of the Mini Program is to verify the legal domain name and the TLS version of the domain name, which can be configured in the mp management background. This option can be enabled during development and the Developer Tools will not verify the security domain name and the TLS version, helping to complete the debugging process more easily during the development process.
# Domain Information
The secure domain name information of the Mini Program will be displayed. The legal domain name can be set in the mp management background.