This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/gh-pages by this push: new 22d39f21 Upgrade the dependent webpack to at least v5.13.0. Because since v5.13.0 (Jan 12, 2021) webpack starts to use dep `enhanced-resolve` v5.6.0, which starts to support wildcard in `package.json` `"exports"` (wildcard is like "exports": { ..., "./*": "./*" }). After echarts & zrender v5.5.0, they were upgraded to use `"exports"` in `package.json`. If wildcard is not supported, in e2e test, echarts can not visit all of the internal files (via path like `zrender/lib/core/util.js`). 22d39f21 is described below commit 22d39f2162da91002da1b7ef2f961840ef0ac73c Author: 100pah <sushuang0...@gmail.com> AuthorDate: Thu Jun 20 01:11:25 2024 +0800 Upgrade the dependent webpack to at least v5.13.0. Because since v5.13.0 (Jan 12, 2021) webpack starts to use dep `enhanced-resolve` v5.6.0, which starts to support wildcard in `package.json` `"exports"` (wildcard is like "exports": { ..., "./*": "./*" }). After echarts & zrender v5.5.0, they were upgraded to use `"exports"` in `package.json`. If wildcard is not supported, in e2e test, echarts can not visit all of the internal files (via path like `zrender/lib/core/util.js`). --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 97958f1e..5dff591d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "vue": "2.6.14", "vue-loader": "^15.9.6", "vue-template-compiler": "2.6.14", - "webpack": "^5.11.1", + "webpack": "^5.13.0", "webpack-bundle-analyzer": "^4.3.0", "webpack-cli": "^4.3.1", "yargs": "^6.6.0" @@ -77,4 +77,4 @@ "vue-i18n": "^8.18.2", "vue-scrollactive": "^0.9.3" } -} \ No newline at end of file +} --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org