Front-end project packaging method and device shared by multiple environments

The invention discloses a front-end project packaging method and device shared by multiple environments, and relates to the technical field of web front-end development. The method comprises the following steps: defining variable names used in different environment scenes in an application; creating...

Full description

Saved in:
Bibliographic Details
Main Authors ZHAO LIMIN, TIAN YOUBIN, WU YEBIN, LIN JIANG
Format Patent
LanguageChinese
English
Published 06.09.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a front-end project packaging method and device shared by multiple environments, and relates to the technical field of web front-end development. The method comprises the following steps: defining variable names used in different environment scenes in an application; creating a plurality of project environments, acquiring defined variable names, endowing each environment with a specific value, and automatically storing the specific value as a configuration information file of each environment; a certain project environment is selected to be packaged, environment keywords are read, and a packaging command of the environment is generated; executing the current environment construction command to construct a current project environment; executing a current environment packaging command to package detail items; and copying the packaged deployable front-end folder to a specified directory. The technical problem that the front-end project cannot be repeatedly used in different application en
Bibliography:Application Number: CN202210950257