Merge branch 'preview-fixes'

This commit is contained in:
the1812 2023-11-23 08:37:14 +08:00
commit c5a6335fcb
4 changed files with 14 additions and 5 deletions

View File

@ -1,9 +1,18 @@
<!-- spell-checker: disable -->
# 更新日志
## v2.8.7 / v2.8.7-preview
`2023-11-23`
- 修复正式版中清爽首页无法加载的问题. (#4538)
其他更新内容请看 [v2.8.6](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.6) / [v2.8.6-preview](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.6-preview).
## v2.8.6-preview
`2023-11-22`
包含 [v2.8.6](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.6) 的所有更新内容.
✨新增
- 新增插件 `下载视频 - MPV 输出支持加强版`. (PR #4448 by [weapon!](https://github.com/Asukaaaaaa))
> 同时支持单文件和多文件, 不需要额外下载程序处理 mpv 协议, 配置方式请参考 [README](https://github.com/Asukaaaaaa/tricks/blob/main/Bilibili-Evolved%20mpv-ex%20%E6%8F%92%E4%BB%B6.md)

View File

@ -1,5 +1,5 @@
{
"version": "2.8.6",
"version": "2.8.7",
"author": "Grant Howard, Coulomb-G",
"copyright": "[year], Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)",
"license": "MIT",

View File

@ -18,6 +18,6 @@ previewConfig.plugins.push(
)
// see src/client/init-vue.ts
lodash.set(previewConfig, 'resolve.alias.vue$', 'vue/dist/vue.common.prod.js')
lodash.set(previewConfig, 'resolve.alias.vue$', 'vue/dist/vue.runtime.common.prod.js')
export default previewConfig

View File

@ -19,6 +19,9 @@ mainConfig.plugins.push(
}),
)
// see src/client/init-vue.ts
lodash.set(mainConfig, 'resolve.alias.vue$', 'vue/dist/vue.runtime.common.prod.js')
previewConfig.output.filename = 'bilibili-evolved.preview.user.js'
previewConfig.mode = 'production'
const targets = [mainConfig, previewConfig].map(config => {
@ -27,7 +30,4 @@ const targets = [mainConfig, previewConfig].map(config => {
return config
})
// see src/client/init-vue.ts
lodash.set(previewConfig, 'resolve.alias.vue$', 'vue/dist/vue.common.prod.js')
export default targets