chore: remove swc plugin because it is too outdated (#5870)

This commit is contained in:
LongYinan 2024-02-22 11:08:30 +00:00
parent c88998678e
commit a84460cc3a
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
3 changed files with 0 additions and 17 deletions

View File

@ -272,14 +272,6 @@ export const createConfiguration: (
},
useDefineForClassFields: false,
},
experimental: {
plugins: [
buildFlags.coverage && [
'swc-plugin-coverage-instrument',
{},
],
].filter(Boolean),
},
},
},
},

View File

@ -119,7 +119,6 @@
"source-map-loader": "^5.0.0",
"style-loader": "^3.3.3",
"swc-loader": "^0.2.3",
"swc-plugin-coverage-instrument": "^0.0.20",
"thread-loader": "^4.0.2",
"vitest": "1.3.1",
"webpack": "^5.89.0",

View File

@ -386,7 +386,6 @@ __metadata:
source-map-loader: "npm:^5.0.0"
style-loader: "npm:^3.3.3"
swc-loader: "npm:^0.2.3"
swc-plugin-coverage-instrument: "npm:^0.0.20"
swr: "npm:2.2.5"
thread-loader: "npm:^4.0.2"
uuid: "npm:^9.0.1"
@ -33061,13 +33060,6 @@ __metadata:
languageName: node
linkType: hard
"swc-plugin-coverage-instrument@npm:^0.0.20":
version: 0.0.20
resolution: "swc-plugin-coverage-instrument@npm:0.0.20"
checksum: 10/9467e2d225169f9fce30a1318284e3c09be10349723c33c847e2af90a94caca11a998e1e103b605f4864807452c1305f103a88214bebc3273c5b5aa655f8f9e1
languageName: node
linkType: hard
"swr@npm:2.2.5, swr@npm:^2.2.4":
version: 2.2.5
resolution: "swr@npm:2.2.5"