mirror of https://github.com/hashicorp/consul
Stop trying to remove consul-api-double we don't need to anymore
parent
25477761f7
commit
f6cd162f75
|
@ -1,7 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||||
const stew = require('broccoli-stew');
|
|
||||||
module.exports = function(defaults) {
|
module.exports = function(defaults) {
|
||||||
let app = new EmberApp(defaults, {
|
let app = new EmberApp(defaults, {
|
||||||
'ember-cli-babel': {
|
'ember-cli-babel': {
|
||||||
|
@ -44,8 +43,5 @@ module.exports = function(defaults) {
|
||||||
// please specify an object with the list of modules as keys
|
// please specify an object with the list of modules as keys
|
||||||
// along with the exports of each module as its value.
|
// along with the exports of each module as its value.
|
||||||
let tree = app.toTree();
|
let tree = app.toTree();
|
||||||
if (app.env === 'production') {
|
|
||||||
tree = stew.rm(tree, 'consul-api-double');
|
|
||||||
}
|
|
||||||
return tree;
|
return tree;
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||||
"base64-js": "^1.3.0",
|
"base64-js": "^1.3.0",
|
||||||
"broccoli-asset-rev": "^2.4.5",
|
"broccoli-asset-rev": "^2.4.5",
|
||||||
"broccoli-stew": "^1.5.0",
|
|
||||||
"ember-ajax": "^3.0.0",
|
"ember-ajax": "^3.0.0",
|
||||||
"ember-block-slots": "^1.1.11",
|
"ember-block-slots": "^1.1.11",
|
||||||
"ember-browserify": "^1.2.2",
|
"ember-browserify": "^1.2.2",
|
||||||
|
|
Loading…
Reference in New Issue