Skip to content

feat(migration): copying JS files when created in cli generated app, #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 1 addition & 29 deletions lib/broccoli/angular2-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class Angular2App extends BroccoliPlugin {
read(readTree) {
return this._tree.read(readTree);
}

/**
* @override
*/
Expand Down Expand Up @@ -246,34 +247,6 @@ class Angular2App extends BroccoliPlugin {
});
}

/**
* Returns the source root dir tree.
*
* @private
* @method _getSourceTree
* @return {Tree} Tree for the src dir.
*/
_getSourceTree() {
return new BroccoliFunnel(this._inputNode, {
include: ['*.ts', '**/*.ts', '**/*.d.ts'],
destDir: this._sourceDir
});
}

/**
* Returns the typings tree.
*
* @private
* @method _getTypingsTree
* @return {Tree} Tree for the src dir.
*/
_getTypingsTree() {
return new BroccoliFunnel('typings', {
include: ['browser.d.ts', 'browser/**'],
destDir: 'typings'
});
}

/**
* Returns the TS tree.
*
Expand Down Expand Up @@ -345,7 +318,6 @@ class Angular2App extends BroccoliPlugin {
include: [path.join(this._sourceDir, '**/*')],
exclude: [
'**/*.ts',
'**/*.js',
'**/*.scss',
'**/*.sass',
'**/*.less',
Expand Down