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:
@ -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');
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user