Code file construction method, device and equipment and computer readable storage medium

The invention belongs to the technical field of development, and provides a code file construction method, device and equipment and a computer readable storage medium. The method comprises the following steps: obtaining a corresponding html file, a style file and a logic code file according to a fil...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: MO PENGCHENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention belongs to the technical field of development, and provides a code file construction method, device and equipment and a computer readable storage medium. The method comprises the following steps: obtaining a corresponding html file, a style file and a logic code file according to a file storage path in a code file construction instruction when the code file construction instruction is monitored; executing a preset script file accommodating a regular expression to perform code character replacement processing on the html file, the style file and the logic code file to obtain a target html file, a target style file and a target logic code file; and integrating the target html file, the target style file and the target logic code file to obtain a corresponding target code file.The page loading speed can be increased. 本发明属于开发技术领域,提供一种代码文件构建方法、装置、设备及计算机可读存储介质,该方法包括:当监测到代码文件构建指令时,依据所述代码文件构建指令中的文件存储路径获取对应的html文件、样式文件和逻辑代码文件;执行包含有正则表达式的预设脚本文件对所述html文件、所述样式文件和所述逻辑代码文件进行代码字符替换处理,得到目标html文件、目标样式文件和目标逻辑代码文件