-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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 中同名时加载不到的问题 ```
- v2.20.14
- v2.20.13
- v2.20.12
- v2.20.11
- v2.20.10
- v2.20.9
- v2.20.8
- v2.20.7
- v2.20.6
- v2.20.5
- v2.20.4
- v2.20.3
- v2.20.2
- v2.20.1
- v2.20.0
- v2.20.0-rc.2
- v2.20.0-rc.1
- v2.19.3
- v2.19.2
- v2.19.1
- v2.19.0
- v2.19.0-rc.4
- v2.19.0-rc.3
- v2.19.0-rc.2
- v2.19.0-rc.1
- v2.18.0
- v2.18.0-rc.1
- v2.17.2
- v2.17.1
- v2.17.0
- v2.17.0-rc.1
- v2.17.0-beta.1
- v2.17.0-alpha.2
- v2.17.0-alpha.1
- v2.16.3
- v2.16.2
- v2.16.1
- v2.16.0
- v2.16.0-rc.2
- v2.16.0-rc.1
- v2.15.2
- v2.15.1
- v2.15.0
- v2.15.0-rc.1
- v2.14.1
- v2.14.0
- v2.14.0-rc.1
- v2.13.1
- v2.13.0
- v2.13.0-rc.1
- v2.12.4
- v2.12.3
- v2.12.2
- v2.12.1
- v2.12.0
- v2.12.0-rc.2
- v2.12.0-rc.1
- v2.12.0-beta.2
- v2.12.0-beta.1
- v2.12.0-alpha.2
- v2.12.0-alpha.1
- v2.11.3
- v2.11.2
- v2.11.1
- v2.11.0
- v2.11.0-rc.2
- v2.11.0-rc.1
- v2.10.2
- v2.10.1
- v2.10.0
- v2.10.0-beta.1
- v2.10.0-alpha.1
Showing
1 changed file
with
1 addition
and
19 deletions.
There are no files selected for viewing
This file contains 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