Merge pull request #4349 from hashicorp/feature/remove-rm-api-double

UI - Stop trying to remove consul-api-double we don't need to anymore
This commit is contained in:
John Cowen 2018-07-18 17:54:21 +01:00 committed by GitHub
commit b924ff87df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -1,7 +1,6 @@
'use strict';
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const stew = require('broccoli-stew');
module.exports = function(defaults) {
let app = new EmberApp(defaults, {
'ember-cli-babel': {
@ -44,8 +43,5 @@ module.exports = function(defaults) {
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.
let tree = app.toTree();
if (app.env === 'production') {
tree = stew.rm(tree, 'consul-api-double');
}
return tree;
};

View File

@ -35,7 +35,6 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"base64-js": "^1.3.0",
"broccoli-asset-rev": "^2.4.5",
"broccoli-stew": "^1.5.0",
"ember-ajax": "^3.0.0",
"ember-block-slots": "^1.1.11",
"ember-browserify": "^1.2.2",