This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch 4.9.1-security-fix in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/4.9.1-security-fix by this push: new b694badeb fix compatibility of `rollup-plugin-ec-lang` in Windows b694badeb is described below commit b694badebe25867d8684fe1aafbe6c71f09f9d78 Author: plainheart <y...@all-my-life.cn> AuthorDate: Sat May 24 20:18:33 2025 +0800 fix compatibility of `rollup-plugin-ec-lang` in Windows --- build/rollup-plugin-ec-lang.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/rollup-plugin-ec-lang.js b/build/rollup-plugin-ec-lang.js index 2ec8c6dde..16867e33b 100644 --- a/build/rollup-plugin-ec-lang.js +++ b/build/rollup-plugin-ec-lang.js @@ -44,7 +44,7 @@ function getPlugin(opt) { return { load: function (absolutePath) { - if (/\/src\/lang\.js$/.test(absolutePath)) { + if (/\/src\/lang\.js$/.test(absolutePath.replace(/\\/g, '/'))) { let langPath = getLangFileInfo(lang).absolutePath; if (langPath) { absolutePath = langPath; @@ -77,4 +77,4 @@ let getLangFileInfo = getPlugin.getLangFileInfo = function (lang) { return {isOuter, absolutePath}; }; -module.exports = getPlugin; \ No newline at end of file +module.exports = getPlugin; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org