diff --git a/package.json b/package.json index c91f49309aaf..2d1b9af475e2 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "ora": "^2.1.0", "rimraf": "^2.6.2", "rollup": "^0.57.1", - "rollup-plugin-alias": "^1.4.0", + "rollup-plugin-alias": "^2.2.0", "rollup-plugin-babel": "^4.0.0-beta.2", "rollup-plugin-buble": "^0.19.2", "rollup-plugin-commonjs": "^9.1.0", diff --git a/packages/taro-h5/package.json b/packages/taro-h5/package.json index 7700cad20e3f..de50c6ade850 100644 --- a/packages/taro-h5/package.json +++ b/packages/taro-h5/package.json @@ -60,7 +60,7 @@ "mock-socket": "^7.1.0", "nervjs": "^1.5.0", "rollup": "^1.1.2", - "rollup-plugin-alias": "^1.5.1", + "rollup-plugin-alias": "^2.2.0", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-node-resolve": "^4.0.0", diff --git a/packages/taro-redux-h5/package.json b/packages/taro-redux-h5/package.json index 73f0c570623e..4ef1102f15ae 100644 --- a/packages/taro-redux-h5/package.json +++ b/packages/taro-redux-h5/package.json @@ -51,7 +51,7 @@ "redux": "^4.0.0", "rimraf": "^2.6.2", "rollup": "^0.67.3", - "rollup-plugin-alias": "^1.4.0", + "rollup-plugin-alias": "^2.2.0", "rollup-plugin-babel": "^4.0.0-beta.8", "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-es3": "^1.1.0", diff --git a/packages/taro-router/package.json b/packages/taro-router/package.json index 85d1deb289f9..943f0976da14 100644 --- a/packages/taro-router/package.json +++ b/packages/taro-router/package.json @@ -30,7 +30,7 @@ "invariant": "2.2.4", "lodash": "4.17.13", "resolve-pathname": "2.2.0", - "rollup-plugin-alias": "1.4.0", + "rollup-plugin-alias": "2.2.0", "value-equal": "0.4.0", "warning": "4.0.2" }, diff --git a/yarn.lock b/yarn.lock index 077ab6385b9b..d5217b838158 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10586,11 +10586,12 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rollup-plugin-alias@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/rollup-plugin-alias/-/rollup-plugin-alias-1.4.0.tgz#120cba7c46621c03138f0ca6fd5dd2ade9872db9" +rollup-plugin-alias@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-alias/-/rollup-plugin-alias-2.2.0.tgz#5004a2bc542a2eebb45b5a0fff8c6f540439decc" + integrity sha512-9ZK410qeFed4gGrHoojBpxLsHF74vPgsheGg9JRW5RbALAxqdvJbd357mSqWBqUrBfRVnZnNUXTZdYLxxQEA5A== dependencies: - slash "^1.0.0" + slash "^3.0.0" rollup-plugin-babel@^4.0.0-beta.2: version "4.0.3" @@ -11018,6 +11019,11 @@ slash@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + slice-ansi@0.0.4: version "0.0.4" resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35"