ember-cli-deploy-build-plus
v0.2.2
Published
A Build Plugin for ember-cli-deploy
Downloads
14
Maintainers
Readme
ember-cli-deploy-build-plus
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. It can also build an ENV specific robots.txt file.
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. It can also be used just to create an ENV specific robots.txt file in your project.
For more information on what plugins are and how they work, please refer to the Plugin Documentation.
Quick Start
- Install this plugin
$ ember install ember-cli-deploy-build-plus
- Run the pipeline
$ ember deploy
Installation
Run the following command in your terminal:
ember install ember-cli-deploy-build-plus
ember-cli-deploy Hooks Implemented
For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.
configure
setup
build
Configuration Options
For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.
environment
The environment for which you'd like to build. This relates directly to the environments in your config/environment.js
file.
Default: 'production'
outputPath
The path to the directory you'd like the project to be built in retured to context.distDir
.
Default: tmp/deploy-dist
distDir
Mutable input path normally setup by outputPath where your project will be built.
Default: context.distDir
robots.txt
To use an ENV specific robots.txt
file rename robots.txt
to robots-development.txt
and create robots-production.txt
or robots-staging.txt
for the environment for which you'd like to build.
Prerequisites
None
Running Tests
npm test