From 06287ca270a69ad1dbdce3c1538853434ea1f14b Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Wed, 21 Aug 2024 17:17:37 +0800 Subject: [PATCH] chore: tweak --- theme/src/node/plugins/getPlugins.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/theme/src/node/plugins/getPlugins.ts b/theme/src/node/plugins/getPlugins.ts index 128b608c..cb2cc0b3 100644 --- a/theme/src/node/plugins/getPlugins.ts +++ b/theme/src/node/plugins/getPlugins.ts @@ -69,13 +69,13 @@ export function getPlugins({ plugins.push(nprogressPlugin()) } - // if (pluginOptions.git ?? isProd) { - plugins.push(gitPlugin({ - createdTime: true, - updatedTime: true, - contributors: true, - })) - // } + if (pluginOptions.git ?? isProd) { + plugins.push(gitPlugin({ + createdTime: true, + updatedTime: true, + contributors: true, + })) + } if (pluginOptions.photoSwipe !== false) { plugins.push(photoSwipePlugin({