diff --git a/etc/karma.conf.ci.js b/etc/karma.conf.ci.js index b0442f3..c094fc5 100644 --- a/etc/karma.conf.ci.js +++ b/etc/karma.conf.ci.js @@ -27,25 +27,8 @@ module.exports = function (config) { preprocessors: { [bundle]: ['coverage', 'webpack', 'sourcemap'], - [specs]: ['coverage', 'webpack', 'babel', 'sourcemap'] + [specs]: ['webpack', 'sourcemap'] }, - babelPreprocessor: { - options: { - presets: ['es2015'], - plugins: [ - "transform-decorators-legacy", - "transform-es2015-arrow-functions", - "transform-es2015-block-scoping", - "transform-es2015-classes", - "transform-es2015-constants", - "transform-es2015-destructuring", - "transform-es2015-modules-commonjs", - "transform-es2015-object-super", - "transform-class-properties" - ] - } - } - }); }; diff --git a/etc/karma.conf.js b/etc/karma.conf.js index 1d388bf..5a73e41 100755 --- a/etc/karma.conf.js +++ b/etc/karma.conf.js @@ -49,7 +49,6 @@ module.exports = function (config) { * we are building the test environment in ./spec-bundle.js */ files: [ - 'node_modules/babel-polyfill/dist/polyfill.js', bundle ], diff --git a/etc/webpack.common.js b/etc/webpack.common.js index 2e339b8..976cdf5 100755 --- a/etc/webpack.common.js +++ b/etc/webpack.common.js @@ -188,7 +188,6 @@ var config = { * * See: https://github.com/s-panferov/awesome-typescript-loader */ - // note that babel-loader is configured to run after ts-loader { test: /\.ts$/, loaders: ['awesome-typescript-loader'] diff --git a/package.json b/package.json index b598103..cfbcae6 100644 --- a/package.json +++ b/package.json @@ -32,15 +32,6 @@ "@types/source-map": "0.5.0", "@types/uglify-js": "2.6.28", "awesome-typescript-loader": "3.1.3", - "babel-core": "6.24.0", - "babel-loader": "6.4.1", - "babel-plugin-transform-class-properties": "6.23.0", - "babel-plugin-transform-decorators-legacy": "1.3.4", - "babel-plugin-transform-es2015-arrow-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoping": "6.23.0", - "babel-plugin-transform-es2015-constants": "6.1.4", - "babel-polyfill": "6.23.0", - "babel-preset-es2015": "6.24.0", "codelyzer": "3.0.0", "concurrently": "3.4.0", "copy-webpack-plugin": "4.0.1", @@ -58,7 +49,6 @@ "jasmine-core": "2.5.2", "json-loader": "0.5.4", "karma": "1.6.0", - "karma-babel-preprocessor": "6.0.1", "karma-chrome-launcher": "2.0.0", "karma-coverage": "1.1.1", "karma-jasmine": "1.1.0", diff --git a/tsconfig.json b/tsconfig.json index 464786e..896a84d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,7 +26,6 @@ ] }, "awesomeTypescriptLoaderOptions": { - "useBabel": true, "useCache": true }, "compileOnSave": false,