May 20, 2021 WeChat Mini Program Development Document
The project page card has three main functions:
Includes icons, app IDs, third-party platform names (only development applets for third-party platforms are displayed), directory information, when the code was last submitted, and the size of the code pack.
Developers can choose any version of the underlying library here to develop and debug compatibility issues with older versions.
In 0.10.101000
and later versions of the development tool, the developer code ES6 syntax is
babel
by default to
ES6
is
ES5
helping developers solve development problems
caused by different environments. D
evelopers can turn this off in project settings.
Details
It is important to note that:
ES6
conversion feature is turned on and
javasctipt
strict mode is enabled by default.
Turning this on, the development tool will help developers compress
javascript
code and reduce the size of the code package when uploading code.
Turning this option on, the development tool automatically detects and complements missing styles to ensure proper display on low-version systems. A
lthough most of the problems can be circumvented, developers are advised to check the true performance of small programs separately on iOS and Android.
Open this option, the developer tool will try to protect the project code, mainly to flatten the file and replace the file name referenced by the Require reference, the following cases are not suitable for this function.
A officially released applet network request is a TLS version that requires a legal domain name and a domain name, which can be configured in the MP management background.This option can be opened during the development process, and the development tool will not verify security domain names, and the TLS version, help complete debugging work more easily during development.
This option is visible on computers with four cores and above. E nabling this option makes full use of CPU resources to compile the project's JS code and improve the efficiency of compilation. You can choose to turn this option off.
The small program's secure domain name information is displayed, and legitimate domain names can be set up in the mp management background.