Legacy platform

Configuring gulp

You can configure gulp to monitor files and stream them into the exploded WAR folder.

Depending on your environment, complete any one of the following steps:

  • If you are configuring gulp in the WAR mode, update the <STORE_BUILD_FOLDER>/ngstore.local.extn.config.json file, and set the base and “dest” properties as follows:
    {               
          "base":{                               
          "app":"<WSCDEVWAR_FOLDER>/ngstore",
          "extn":"<EXTN_FOLDER>/ngstore"               
          },               
          "dest":"<WSCDEVWAR_FOLDER>"
    }

    Here, “dest” refers to the directory path where the angular minified files are generated and saved after the successful completion of a gulp task.

    Copy the angular minified files from the <WSCDEVWAR_FOLDER> folder.

  • If you are configuring gulp in a local or central runtime, update the <STORE_BUILD_FOLDER>/ngstore.build.extn.config.json file, and set the base and “dest” properties as follows:
    {
       "base":{
        "app":"<RUNTIME>/repository/eardata/wsc/war/ngstore", 
        "extn":"<EXTN_FOLDER>/ngstore"
         },
        "dest":"<RUNTIME>/extensions/wsc/webpages"
    }

    Here, “dest” refers to the directory path where the angular minified files are saved on the successful completion of a gulp task.