ember-cli-bootstrap3-carousel
Version:
The default blueprint for ember-cli addons.
34 lines (28 loc) • 989 B
JavaScript
/* jshint node: true */
module.exports = function (deployTarget) {
var ENV = {
build: {},
s3: {
bucket: 'ember-cli-bootstrap3-carousel.cybertooth.io',
filePattern: '**/*.{js,css,png,gif,ico,jpg,map,xml,txt,svg,swf,eot,ttf,woff,woff2,otf,html}',
profile: 'cybertooth',
region: 'us-west-2'
}
};
if (deployTarget === 'development') {
ENV.build.environment = 'development';
// configure other plugins for development deploy target here
}
if (deployTarget === 'staging') {
ENV.build.environment = 'production';
// configure other plugins for staging deploy target here
}
if (deployTarget === 'production') {
ENV.build.environment = 'production';
// configure other plugins for production deploy target here
}
// Note: if you need to build some configuration asynchronously, you can return
// a promise that resolves with the ENV object instead of returning the
// ENV object synchronously.
return ENV;
};