vuepress-theme-reco/packages/@vuepress-reco/vuepress-plugin-comments/index.js
2020-04-03 19:30:07 +08:00

14 lines
306 B
JavaScript

const { path } = require('@vuepress/shared-utils')
module.exports = (options, context) => ({
define () {
return {
COMMENTS_OPTIONS: options || null
}
},
name: '@vuepress-reco/vuepress-plugin-comments',
enhanceAppFiles: [
path.resolve(__dirname, './bin/enhanceAppFile.js')
]
})