Zepto. js custom packaging integration with other modules building process, zepto. js Process
1. First install node. js and npm package management tools on your computer;
2. Download The zepto. js source file package from github to a local disk (for example, E: \ Learning \ JS );
Address: https://github.com/madrobby/zepto
3. decompress the downloaded zepto package, go to the directory, find the make file, open the file, find the location of row 42nd, and add the required Module name (here I added the fx_methods and fx modules ), separated by spaces;
For example:
Zepto Module name:
4. When running, run cmd to open the command window and enter the zepto file directory;
Or press shift in the selected folder and right-click the folder and select "Open command window here;
5. Run the npm install command;
6. Enter the npm run-script dist command to build the program;
After the execution is successful, how can I have the following files in the dist Folder: the package is successful