Skip to content

Esri-DevCenter-Beijing/wab-app-build-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script is used to build 2D app created by WAB-Developer Edition

Why do you need to build your app?

Generally speaking, you may have 2 reasons:

  • To speed up your app's loading performance.
  • You do not want to share your source code to the end user.

How to run?

  • Clone this repository
  • cd the repository folder and run git submodule update --recursive --init
  • Make sure you have Node.js and JRE installed.
  • Copy your app into the root folder of this repo, the folder structure is like this: wab-app-build-script/config.json
    • Please note: Please copy package.js and package.json into widgets folder and themes folder from stemapp if they are not existed.
  • Open cmd, cd folder buildScripts, run npm install, then run build.bat.
  • Waiting for the build process to complete. The build output will be available at buildOutput/app folder.