Skip to content

Commit

Permalink
fix(plugin-comment): ensure comment is not externalize in ssr, close #99
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Apr 5, 2024
1 parent d29cdf3 commit d0a0f25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/plugin-comment/src/node/commentPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ export const commentPlugin =
}
}

addViteSsrNoExternal(bundlerOptions, app, '@vuepress/helper')
addViteSsrNoExternal(bundlerOptions, app, [
'@vuepress/helper',
'@vuepress/plugin-comment',
])
},

clientConfigFile: `${CLIENT_FOLDER}config.js`,
Expand Down

0 comments on commit d0a0f25

Please sign in to comment.