diff --git a/README.md b/README.md index ce4f4a3..1336212 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ } ], ``` +- "rollup-plugin-esbuild": "^2.4.2", 有 BUG `21-02-18` ## 总结 diff --git a/package.json b/package.json index 4f2ffc2..2849710 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^9.0.0", "@types/minimist": "^1.2.1", - "@types/wait-on": "^5.2.0", "@vitejs/plugin-vue": "^1.1.4", "@vue/compiler-sfc": "^3.0.5", "@vuedx/typecheck": "^0.6.0", @@ -66,7 +65,8 @@ "ora": "^5.0.0", "rimraf": "^3.0.2", "rollup-plugin-copy": "^3.3.0", - "rollup-plugin-esbuild": "^2.4.2", + "rollup-plugin-esbuild": "^2.6.1", + "rollup-plugin-node-externals": "^2.2.0", "ts-node": "^9.1.1", "typescript": "^4.1.3", "vite": "^2.0.0" diff --git a/yarn.lock b/yarn.lock index 8b24c9c..0911e7c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -255,6 +255,14 @@ estree-walker "^1.0.1" picomatch "^2.2.2" +"@rollup/pluginutils@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.1.0.tgz#0dcc61c780e39257554feb7f77207dceca13c838" + integrity sha512-TrBhfJkFxA+ER+ew2U2/fHbebhLT/l/2pRk0hfj9KusXUuRXd2v0R58AfaZK9VXDQ4TogOSEmICVrQAA3zFnHQ== + dependencies: + estree-walker "^2.0.1" + picomatch "^2.2.2" + "@sentry/core@5.30.0": version "5.30.0" resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.30.0.tgz#6b203664f69e75106ee8b5a2fe1d717379b331f3" @@ -416,11 +424,6 @@ dependencies: "@types/node" "*" -"@types/wait-on@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@types/wait-on/-/wait-on-5.2.0.tgz#f9096b7bd0c9c03052d6d402ae5cd51714480b2d" - integrity sha512-3+jsMyPm8aot1mqDUDLOl+dejPvpysUUoUXD6CCRY20MNNhcjEfvdcBnGdnk7DEYs9Hr16ubGJA/9/QW0Df/9g== - "@types/yargs-parser@*": version "15.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d" @@ -2648,15 +2651,22 @@ rollup-plugin-copy@^3.3.0: globby "10.0.1" is-plain-object "^3.0.0" -rollup-plugin-esbuild@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-esbuild/-/rollup-plugin-esbuild-2.4.2.tgz#631f272a06d349b5d7719ed20bae4fedd3ba756f" - integrity sha512-GJOaC2onOPcCN0w7tYv60Thg3ciX40YRubeGyS/DRo862udAiFuQGTIBSyNX20EWyvYLZmZ967ziGdzUJtIaAg== +rollup-plugin-esbuild@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-esbuild/-/rollup-plugin-esbuild-2.6.1.tgz#5785532940d49adf1bff5b38e9bd9089262d4e7a" + integrity sha512-hskMEQQ4Vxlyoeg1OWlFTwWHIhpNaw6q+diOT7p9pdkk34m9Mbk3aymS/JbTqLXy/AbJi22iuXrucknKpeczfg== dependencies: - "@rollup/pluginutils" "^3.1.0" + "@rollup/pluginutils" "^4.1.0" joycon "^2.2.5" strip-json-comments "^3.1.1" +rollup-plugin-node-externals@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-node-externals/-/rollup-plugin-node-externals-2.2.0.tgz#23946e8c0fdd0e321cc3f225d4cebc3d819d17c4" + integrity sha512-WM7TtQ76GdsLceEGmZzQzn1afj8JgOQT5VLs1Y9RMqowM/8eK2mBj/Lv7hoE833U75QsUZIRirYUtFatu51RJA== + dependencies: + find-up "^4.1.0" + rollup@^2.38.5: version "2.39.0" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.39.0.tgz#be4f98c9e421793a8fec82c854fb567c35e22ab6"