Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 322 Bytes

hooks.md

File metadata and controls

22 lines (15 loc) · 322 Bytes

Hooks:

The following hooks are available:

  • beforeBuild
  • afterBuild
  • beforePrepare
  • afterPrepare

Use hooks for any customization, cleanup or warnings.

To create a hook, create a file at ember-cordova/hooks/hookName.js

An example hook:

"use strict";

module.exports = function() {
  //do something
};