after_app_create | create | This hook point triggers the script with the default name after_app_create.js immediately after the tooling concludes the create app process. |
after_app_restore | restore | This hook point triggers the script with the default name after_app_restore.js immediately after the tooling concludes the restore app process. |
before_build | build | This hook point triggers the script with the default name before_build.js immediately before the tooling initiates the build process. |
before_release_build | build (release mode only) | This hook point triggers the script with the default name before_release_build.js before the minification step and the requirejs bundling step occur. |
before_app_typescript | build / serve | This hook point triggers the script with the default name before_app_typescript.js after the build process or serve process steps occur. Use the hook to update, add or remove TypeScript compiler options defined by your app's tsconfig.json compiler configuration file. The hook system passes your reference to the modified tsconfig object to the TypeScript compiler. A script for this hook point can only be used with a TypeScript app. |
after_app_typescript | build / serve | This hook point triggers the script with the default name after_app_typescript.js after the build process or serve process steps occur and immediately after the before_app_typescript hook point executes. This hook provides an entry point for apps that require further processing, such as compiling generated .jsx output using babel. A script for this hook point can only be used with a TypeScript app. |
before_component_typescript | build / serve | This hook point triggers the script with the default name before_component_typescript.js after the build process or serve process steps occur. Use the hook to update, add or remove TypeScript compiler options defined by your app's tsconfig.json compiler configuration file. The hook system passes your reference to the modified tsconfig object to the TypeScript compiler. A script for this hook point can only be used with a TypeScript app. |
after_component_typescript | build / serve | This hook point triggers the script with the default name after_component_typescript.js after the build process or serve process steps occur and immediately after the before_component_typescript hook point executes. This hook provides an entry point for apps that require further processing, such as compiling generated .jsx output using babel. A script for this hook point can only be used with a TypeScript app. |
before_optimize | build / serve (release mode only) | This hook point triggers the script with the default name before_optimize.js before the release mode build/serve process minifies the content. |
before_component_optimize | build / serve | This hook point triggers the script with the default name before_component_optimize.js before the build/serve process minifies the content. A script for this hook point can be used to modify the build process specifically for a project that defines a Web Component. |
after_build | build | This hook point triggers the script with the default name after_build.js immediately after the tooling concludes the build process. |
after_component_create | build | This hook point triggers the script with the default name after_component_create.js immediately after the tooling concludes the create Web Component process. A script for this hook point can be used to modify the build process specifically for a project that defines a Web Component. |
after_component_build | build (debug mode only) | This hook point triggers the script with the default name after_component_build.js immediately after the tooling concludes the Web Component build process. A script for this hook point can be used to modify the build process specifically for a project that defines a Web Component. |
before_serve | serve | This hook point triggers the script with the default name before_serve.js before the web serve process connects to and watches the app. |
after_serve | serve | This hook point triggers the script with the default name after_serve.js after all build process steps complete and the tooling serves the app. |
before_watch | serve | This hook point triggers the script with the default name before_watch.js after the tooling serves the app and before the tooling starts watching for app changes. |
after_watch | serve | This hook point triggers the script with the default name after_watch.js after the tooling starts the watch and after the tooling detects a change to the app. |
| after_component_package | package | This hook point triggers the script with the default name after_component_package.js immediately after the tooling concludes the component package process. |
| before_component_package | package | This hook point triggers the script with the default name before_component_package.js immediately before the tooling initiates the component package process. |