14 lines
306 B
JavaScript
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')
|
|
]
|
|
})
|