Skip to content

Commit

Permalink
Upgrade babel to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikkaji committed Jun 5, 2021
1 parent 4348c0c commit f2e7f10
Show file tree
Hide file tree
Showing 4 changed files with 1,047 additions and 800 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["es2015"],
"plugins": ["transform-class-properties"]
"presets": ["@babel/preset-env"],
"plugins": ["angularjs-annotate"]
}
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angularjs-es6-starter-kit",
"version": "2.2.0",
"version": "2.3.0",
"description": "AngularJS aka Angular 1, ES6, Webpack Starter Kit Project which includes Bootstrap 4 also.",
"main": "index.js",
"scripts": {
Expand All @@ -16,11 +16,10 @@
"author": "Hardik Kaji",
"license": "ISC",
"devDependencies": {
"babel-core": "6.26.3",
"babel-loader": "7.1.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-arrow-functions": "6.22.0",
"babel-preset-es2015": "6.24.1",
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.4",
"babel-loader": "8.2.2",
"babel-plugin-angularjs-annotate": "0.10.0",
"clean-webpack-plugin": "3.0.0",
"css-loader": "5.2.6",
"css-minimizer-webpack-plugin": "^3.0.1",
Expand All @@ -29,7 +28,6 @@
"html-loader": "2.1.2",
"html-webpack-plugin": "5.3.1",
"mini-css-extract-plugin": "1.6.0",
"ng-annotate-loader": "0.7.0",
"node-sass": "6.0.0",
"sass-loader": "12.0.0",
"style-loader": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config = {
{
test: /\.js$/,
include: [path.resolve(__dirname, 'src')],
use: [ { loader: 'ng-annotate-loader'}, { loader: 'babel-loader'}]
use: [ { loader: 'babel-loader'} ]
},
{

Expand Down
Loading

0 comments on commit f2e7f10

Please sign in to comment.