From 8a85086067b1e0eeca2b5ad56e138bb94f3c5a99 Mon Sep 17 00:00:00 2001 From: zuozhiheng Date: Mon, 22 Aug 2022 18:27:03 +0800 Subject: [PATCH] chore: [arco-scripts] remove esbuild-loader from dependencies --- packages/arco-scripts/package.json | 1 - packages/arco-scripts/src/config/webpack/site.ts | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/packages/arco-scripts/package.json b/packages/arco-scripts/package.json index 9c57f11b..ebd0cf75 100644 --- a/packages/arco-scripts/package.json +++ b/packages/arco-scripts/package.json @@ -33,7 +33,6 @@ "doctrine": "^3.0.0", "enzyme": "^3.11.0", "enzyme-to-json": "^3.4.4", - "esbuild-loader": "^2.11.0", "file-loader": "^1.1.11", "fork-ts-checker-webpack-plugin": "^5.2.1", "front-matter": "^4.0.0", diff --git a/packages/arco-scripts/src/config/webpack/site.ts b/packages/arco-scripts/src/config/webpack/site.ts index 126d1aa3..7c518531 100644 --- a/packages/arco-scripts/src/config/webpack/site.ts +++ b/packages/arco-scripts/src/config/webpack/site.ts @@ -64,11 +64,6 @@ const baseConfig = { exclude: /node_modules/, loader: require.resolve('babel-loader'), options: babelConfig, - // loader: require.resolve('esbuild-loader'), - // options: { - // loader: 'tsx', - // target: 'es2015', - // }, }, { test: /\.md$/, @@ -76,11 +71,6 @@ const baseConfig = { { loader: require.resolve('babel-loader'), options: babelConfig, - // loader: require.resolve('esbuild-loader'), - // options: { - // loader: 'jsx', - // target: 'es2015', - // }, }, { loader: require.resolve('arco-markdown-loader'),