Skip to content

Commit

Permalink
Merge pull request #1863 from 44px/ng-annotate-deprecation
Browse files Browse the repository at this point in the history
Replace deprecated ng-annotate with babel plugin
  • Loading branch information
arikfr authored Aug 16, 2017
2 parents 3af9b33 + 53f0716 commit 5b54a77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-object-assign"]
"plugins": ["angularjs-annotate", "transform-object-assign"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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$/,
Expand Down

0 comments on commit 5b54a77

Please sign in to comment.