chore(build): Remove .es6 files which shadow .ts files.

This removes .es6 files which are pure duplicates of a
.ts file in the same folder.
Next we need to remove .js files as well, and remove karma preprocessors for dart.
This commit is contained in:
Alex Eagle
2015-04-27 16:11:20 -07:00
parent c1579222bd
commit 3c77855b39
24 changed files with 45 additions and 870 deletions

View File

@ -61,13 +61,14 @@ module.exports = function(config) {
preprocessors: {
'modules/**/*.js': ['ts2dart'],
'modules/angular2/src/reflection/reflector.ts': ['ts2dart'],
'tools/**/*.js': ['ts2dart']
},
ts2dartPreprocessor: {
resolveModuleName: file2moduleName,
transformPath: function(fileName) {
return fileName.replace(/.js$/, '.dart');
return fileName.replace(/\.(js|ts)$/, '.dart');
}
},