Skip to content

Commit

Permalink
Merge branch 'maintenance/dependencies' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonkr committed Jun 24, 2021
2 parents de4e6cc + ab4fd39 commit 7671d8f
Show file tree
Hide file tree
Showing 9 changed files with 3,613 additions and 3,605 deletions.
19 changes: 18 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import"
]
],
"env": {
"production": {
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"error",
"warn"
]
}
]
]
}
}
}
6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@
"sourceType": "module"
},
"extends": [
"plugin:react-hooks/recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"react",
"@typescript-eslint"
]
],
"rules": {
"react/prop-types": "off"
}
}
]
}
7 changes: 4 additions & 3 deletions build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ module.exports = {
{
test: /\.tsx?$/,
use: [
!isProduction && {
{
loader: 'babel-loader',
options: {
plugins: ['react-refresh/babel'],
plugins: [
!isProduction && 'react-refresh/babel',
].filter(Boolean),
},
},
'ts-loader',
].filter(Boolean),
exclude: /node_modules/,
},
Expand Down
Loading

0 comments on commit 7671d8f

Please sign in to comment.