Skip to content

Commit

Permalink
Update Webpack and build tools
Browse files Browse the repository at this point in the history
- Update webpack and webpack-cli to v5
- Update loaders and plugins
- Change css build config and add postcss preset env
- Remove unused dependencies and plugins
  • Loading branch information
mcallegari10 committed Apr 29, 2021
1 parent 9c70d99 commit 8b48877
Show file tree
Hide file tree
Showing 7 changed files with 36,424 additions and 13,015 deletions.
16 changes: 2 additions & 14 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"presets": [
["@babel/preset-env", {
"modules": false,
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
}
Expand All @@ -12,19 +13,6 @@
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
["module-resolver", {
"root": ["./src"],
"alias": {
"@config": "./src/config",
"@constants": "./src/constants.js",
"@assets": "./assets",
"@tests-mocks": "./mocks",
"@actions": "./src/store/actions",
"@utils": "./src/utils",
"@messagesComponents": "./src/components/Widget/components/Conversation/components/Messages/components",
"@quickButtonsComponents": "./src/components/Widget/components/Conversation/components/QuickButtons/components"
}
}]
"@babel/plugin-proposal-object-rest-spread"
]
}
Loading

0 comments on commit 8b48877

Please sign in to comment.