[frontend] refactor: convert webpack output from UMD to ES module#599
Merged
loveTsong merged 2 commits intoModelEngine-Group:1.3.xfrom Mar 9, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 相关问题 / Related Issue
Issue 链接 / Issue Link: N/A 👈👈
📋 变更类型 / Type of Change
📝 变更目的 / Purpose of the Change
将webpack输出格式从UMD改为ES模块,以支持现代JavaScript模块系统。ES模块是JavaScript官方标准,具有更好的tree-shaking支持和更好的浏览器兼容性。
Convert webpack output format from UMD to ES module to support modern JavaScript module system. ES modules are the official JavaScript standard with better tree-shaking support and better browser compatibility.
📋 主要变更 / Brief Changelog
🧪 验证变更 / Verifying this Change
测试步骤 / Test Steps
npm run build:pro/ Run frontend build command测试覆盖 / Test Coverage
📸 截图 / Screenshots
N/A
✅ 贡献者检查清单 / Contributor Checklist
请确保你的 Pull Request 符合以下要求 / Please ensure your Pull Request meets the following requirements:
基本要求 / Basic Requirements:
代码质量 / Code Quality:
测试要求 / Testing Requirements:
mvn -B clean package -Dmaven.test.skip=true,npm install --force && npm run build:pro/ Basic checks passmvn clean install/ Unit tests pass文档和兼容性 / Documentation and Compatibility:
📋 附加信息 / Additional Notes
这是一个配置级别的重构,不涉及业务逻辑变更。ES模块格式是现代JavaScript的标准,具有更好的性能和可维护性。
This is a configuration-level refactoring that does not involve business logic changes. ES module format is the modern JavaScript standard with better performance and maintainability.
审查者注意事项 / Reviewer Notes:
请重点关注webpack配置的变更,确保ES模块输出格式符合项目需求。
Please focus on the webpack configuration changes to ensure the ES module output format meets project requirements.
🤖 Create by Agent