Skip to content

Commit f2e7f10

Browse files
committed
Upgrade babel to latest version
1 parent 4348c0c commit f2e7f10

File tree

4 files changed

+1047
-800
lines changed

4 files changed

+1047
-800
lines changed

.babelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"presets": ["es2015"],
3-
"plugins": ["transform-class-properties"]
2+
"presets": ["@babel/preset-env"],
3+
"plugins": ["angularjs-annotate"]
44
}

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-es6-starter-kit",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "AngularJS aka Angular 1, ES6, Webpack Starter Kit Project which includes Bootstrap 4 also.",
55
"main": "index.js",
66
"scripts": {
@@ -16,11 +16,10 @@
1616
"author": "Hardik Kaji",
1717
"license": "ISC",
1818
"devDependencies": {
19-
"babel-core": "6.26.3",
20-
"babel-loader": "7.1.1",
21-
"babel-plugin-transform-class-properties": "6.24.1",
22-
"babel-plugin-transform-es2015-arrow-functions": "6.22.0",
23-
"babel-preset-es2015": "6.24.1",
19+
"@babel/core": "7.14.3",
20+
"@babel/preset-env": "7.14.4",
21+
"babel-loader": "8.2.2",
22+
"babel-plugin-angularjs-annotate": "0.10.0",
2423
"clean-webpack-plugin": "3.0.0",
2524
"css-loader": "5.2.6",
2625
"css-minimizer-webpack-plugin": "^3.0.1",
@@ -29,7 +28,6 @@
2928
"html-loader": "2.1.2",
3029
"html-webpack-plugin": "5.3.1",
3130
"mini-css-extract-plugin": "1.6.0",
32-
"ng-annotate-loader": "0.7.0",
3331
"node-sass": "6.0.0",
3432
"sass-loader": "12.0.0",
3533
"style-loader": "2.0.0",

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const config = {
2323
{
2424
test: /\.js$/,
2525
include: [path.resolve(__dirname, 'src')],
26-
use: [ { loader: 'ng-annotate-loader'}, { loader: 'babel-loader'}]
26+
use: [ { loader: 'babel-loader'} ]
2727
},
2828
{
2929

0 commit comments

Comments
 (0)