Skip to content

Commit

Permalink
chore: 🔧 [toolchain] atualizando babel e outras dependencias
Browse files Browse the repository at this point in the history
  • Loading branch information
lgdevlop committed Aug 8, 2020
1 parent 57f52d4 commit 4402a4c
Show file tree
Hide file tree
Showing 5 changed files with 2,699 additions and 2,673 deletions.
7 changes: 1 addition & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"presets": ["react", "stage-0"],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
"presets": ["@babel/preset-react"]
}
3 changes: 0 additions & 3 deletions config/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ module.exports = {
exclude: /node_modules/,
use: {
loader: "babel-loader"
// options: {
// presets: ['react']
// }
}
},
{
Expand Down
4 changes: 0 additions & 4 deletions config/webpack.pro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var path = require("path");
// const ExtractTextPlugin = require("extract-text-webpack-plugin")
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
// const HtmlWebpackPlugin = require('html-webpack-plugin')
const OptimizeCssAssetsPlugin = require("optimize-css-assets-webpack-plugin");
Expand Down Expand Up @@ -32,9 +31,6 @@ module.exports = {
exclude: /node_modules/,
use: {
loader: "babel-loader",
options: {
presets: ["react"]
}
}
},
// {
Expand Down
28 changes: 13 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,24 @@
"test": "./node_modules/.bin/jest --env=jsdom"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^25.0.0",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^3.4.0",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/preset-react": "^7.10.4",
"babel-jest": "^26.2.2",
"babel-loader": "^8.1.0",
"css-loader": "^4.2.1",
"extract-loader": "^2.0.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"file-loader": "^6.0.0",
"html-loader": "^0.5.5",
"jest": "^25.0.0",
"jest": "^26.2.2",
"mini-css-extract-plugin": "^0.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rimraf": "^2.7.1",
"style-loader": "^0.21.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rimraf": "^3.0.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^4.0.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
Expand Down
Loading

0 comments on commit 4402a4c

Please sign in to comment.