Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: plugin resource loading to only load from plugin itself ins…
…tead of delegating to core (#4663) #### What type of PR is this? /kind improvement /area core /area plugin /milestone 2.10.x #### What this PR does / why we need it: 重构插件类加载器以优化当插件的 resources 目录资源与 Halo 中同名时加载不到的问题 how to test it? 1. 在创建的 resources/extensions 目录创建一个与 halo 的 resources/extensions 目录中已存在的同名 yaml 2. 使用插件观察插件的同名文件 yaml 是否被 apply 到 halo 中 3. 测试插件的其他功能是否正常比如静态资源加载如 logo 等 #### Which issue(s) this PR fixes: Fixes #4610 #### Does this PR introduce a user-facing change? ```release-note 重构插件类加载器以优化当插件的 resources 目录资源与 Halo 中同名时加载不到的问题 ```
- Loading branch information