An ember-cli-deploy plugin to build your ember-cli application
This plugin will build your ember-cli application files and output them to a directory.
What is an ember-cli-deploy plugin?A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.
For more information on what plugins are and how they work, please refer to the Plugin Documentation1.
- Install this plugin
$ ember install ember-cli-deploy-build
- Run the pipeline
$ ember deploy
InstallationRun the following command in your terminal:
ember install ember-cli-deploy-build
ember-cli-deploy Hooks ImplementedFor detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation1.
Configuration OptionsFor detailed information on how configuration of plugins works, please refer to the Plugin Documentation1.
environmentThe environment for which you'd like to build. This relates directly to the environments in your
outputPathThe path to the directory you'd like the project to be built in to.
- yarn test
Faster iteration while authoring deploy plugins & configsWhen you're working on a deploy plugin or tweaking your deploy config, you often run
ember deployrepeatedly, and each run usually invokes this plugin to do a full rebuild of your app, even though your app has not changed and the build options are identical.
You can instead reuse the build from the previous
ember deployby setting the environment variable
EMBER_CLI_DEPLOY_REUSE_BUILD. This may make your interactive testing much faster. It's safe to use during development as long as you aren't actively changing your app or altering this module's
Why Since this is a node-only ember-cli addon, we use mocha for testing and this package does not include many files and devDependencies which are part of ember-cli's typical
ember test doesn't work