Skip to content

feat(build): 添加UMD构建支持并改进OFD解析功能 - #124

Open
hlwen wants to merge 1 commit into
DLTech21:jsfrom
hlwen:umd支持

Hidden character warning

The head ref may contain hidden characters: "umd\u652f\u6301"
Open

feat(build): 添加UMD构建支持并改进OFD解析功能#124
hlwen wants to merge 1 commit into
DLTech21:jsfrom
hlwen:umd支持

Conversation

@hlwen

Copy link
Copy Markdown
  • 新增umd-entry.js入口文件,提供全局OFD对象用于网页预览
  • 添加dist/和.history/到.gitignore忽略列表
  • 在package.json中添加build:umd构建脚本
  • 配置vue.config.js的externals选项以支持UMD模式
  • 注释掉styles/index.css中的.gray样式类
  • 在ofd_parser.js中增加空值检查和错误处理逻辑
  • 在ofd_render.js中增强媒体资源存在性验证

- 新增umd-entry.js入口文件,提供全局OFD对象用于网页预览
- 添加dist/和.history/到.gitignore忽略列表
- 在package.json中添加build:umd构建脚本
- 配置vue.config.js的externals选项以支持UMD模式
- 注释掉styles/index.css中的.gray样式类
- 在ofd_parser.js中增加空值检查和错误处理逻辑
- 在ofd_render.js中增强媒体资源存在性验证
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@hlwen