Skip to content

Commit

Permalink
test: removing babel
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Nov 28, 2023
1 parent 41fef37 commit e284fae
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 388 deletions.
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@
},
"devDependencies": {
"@actions/core": "1.10.1",
"@babel/core": "7.23.0",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "7.23.0",
"@btckit/types": "0.0.19",
"@leather-wallet/prettier-config": "0.0.1",
"@ls-lint/ls-lint": "2.1.0",
Expand Down Expand Up @@ -272,7 +269,6 @@
"@typescript-eslint/parser": "6.7.4",
"@vitest/coverage-istanbul": "0.34.6",
"audit-ci": "6.6.1",
"babel-loader": "9.1.3",
"base64-loader": "1.0.0",
"bip32": "4.0.0",
"blns": "2.0.4",
Expand All @@ -287,7 +283,7 @@
"deepmerge": "4.3.1",
"dependency-cruiser": "14.1.1",
"dotenv-webpack": "8.0.1",
"esbuild": "0.19.4",
"esbuild": "0.19.7",
"esbuild-loader": "4.0.2",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-react": "7.33.2",
Expand Down Expand Up @@ -315,8 +311,8 @@
"vm-browserify": "1.1.2",
"web-ext": "7.8.0",
"web-ext-submit": "7.8.0",
"webpack": "5.88.2",
"webpack-bundle-analyzer": "4.9.1",
"webpack": "5.89.0",
"webpack-bundle-analyzer": "4.10.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1",
"webpack-hot-middleware": "2.25.4",
Expand Down
17 changes: 2 additions & 15 deletions webpack/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,8 @@ const config = {
{
test: /\.(ts|tsx)$/,
exclude: /node_modules/,
// #4164 TODO investigate removing babel
use: {
loader: 'babel-loader',
options: {
presets: [
'@babel/preset-typescript',
[
'@babel/preset-react',
{
runtime: 'automatic',
},
],
],
},
},
loader: 'esbuild-loader',
options: { tsconfig: './tsconfig.json', target: 'es2020' },
},
{
test: /\.(png|jpe?g|gif)$/i,
Expand Down
Loading

0 comments on commit e284fae

Please sign in to comment.