Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
feat(babel): Drop babel at all
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinhardt, Martin committed May 9, 2017
1 parent d292c6d commit 5fa905c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 31 deletions.
19 changes: 1 addition & 18 deletions etc/karma.conf.ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}

});
};
1 change: 0 additions & 1 deletion etc/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
],

Expand Down
1 change: 0 additions & 1 deletion etc/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
10 changes: 0 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
]
},
"awesomeTypescriptLoaderOptions": {
"useBabel": true,
"useCache": true
},
"compileOnSave": false,
Expand Down

0 comments on commit 5fa905c

Please sign in to comment.