Skip to content

Commit

Permalink
fix(theme): locales preset injection failed, close #354 (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo authored Nov 27, 2024
1 parent bdb1fc5 commit c8afeef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions theme/src/node/config/resolveProvideData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ export function resolveProvideData(
plugins: PlumeThemePluginOptions,
): Record<string, any> {
const root = getRootLangPath(app)
const locales = [getLocalePaths(app), root]

const locales = [...getLocalePaths(app), root]
return {
// 注入水印配置
__PLUME_WM_FP__: isPlainObject(plugins.watermark)
Expand Down

0 comments on commit c8afeef

Please sign in to comment.