Skip to content

Commit

Permalink
move heimdall stripping to external dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Sep 14, 2016
1 parent 9e66f46 commit e25a653
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 98 deletions.
63 changes: 0 additions & 63 deletions lib/babel-plugin-strip-heimdall.js

This file was deleted.

31 changes: 0 additions & 31 deletions lib/strip-class-callcheck.js

This file was deleted.

6 changes: 2 additions & 4 deletions lib/stripped-build-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ var fs = require('fs');
var path = require('path');
var filterImports = require('babel-plugin-filter-imports');
var featureFlags = require('babel-plugin-feature-flags');
var stripHeimdall = require('./babel-plugin-strip-heimdall');
var stripClassCallback = require('./strip-class-callcheck');
var stripHeimdall = require('babel5-plugin-strip-heimdall');

module.exports = function(environment) {
var featuresJsonPath = __dirname + '/../config/features.json';
Expand All @@ -22,8 +21,7 @@ module.exports = function(environment) {
featureFlags({
import: { module: 'ember-data/-private/features' },
features: features
}),
{ transformer: stripClassCallback, position: 'after' }
})
];

if (environment === 'production') {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"amd-name-resolver": "0.0.5",
"babel-plugin-feature-flags": "^0.2.1",
"babel-plugin-filter-imports": "^0.2.0",
"babel5-plugin-strip-heimdall": "5.0.0",
"broccoli-babel-transpiler": "^5.5.0",
"broccoli-file-creator": "^1.0.0",
"broccoli-merge-trees": "^1.0.0",
Expand Down

0 comments on commit e25a653

Please sign in to comment.