Merge pull request #1863 from 44px/ng-annotate-deprecation

Replace deprecated ng-annotate with babel plugin
This commit is contained in:
Arik Fraimovich
2017-08-16 16:21:23 +03:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-object-assign"]
"plugins": ["angularjs-annotate", "transform-object-assign"]
}

View File

@@ -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",

View File

@@ -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$/,