diff --git a/client/.babelrc b/client/.babelrc index 6c7c8b9472..9bc0333a11 100644 --- a/client/.babelrc +++ b/client/.babelrc @@ -1,4 +1,4 @@ { "presets": ["es2015", "stage-2"], - "plugins": ["transform-object-assign"] + "plugins": ["angularjs-annotate", "transform-object-assign"] } diff --git a/package.json b/package.json index 20afdf5181..236bf1ef40 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "devDependencies": { "babel-core": "^6.18.0", "babel-loader": "^6.2.7", + "babel-plugin-angularjs-annotate": "^0.7.0", "babel-plugin-transform-object-assign": "^6.22.0", "babel-preset-es2015": "^6.18.0", "babel-preset-stage-2": "^6.18.0", @@ -69,7 +70,6 @@ "extract-text-webpack-plugin": "^2.1.2", "file-loader": "^0.11.2", "html-webpack-plugin": "^2.24.0", - "ng-annotate-loader": "^0.6.1", "node-sass": "^4.5.3", "raw-loader": "^0.5.1", "sass-loader": "^6.0.6", diff --git a/webpack.config.js b/webpack.config.js index 420dc43188..e23f76603d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,7 +59,7 @@ var config = { { test: /\.js$/, exclude: /node_modules/, - use: ['ng-annotate-loader', 'babel-loader', 'eslint-loader'] + use: ['babel-loader', 'eslint-loader'] }, { test: /\.html$/,