mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-11 22:36:59 +10:00
16 lines
430 B
JavaScript
16 lines
430 B
JavaScript
const { path } = require('@vuepress/shared-utils')
|
|
|
|
module.exports = (options, context) => ({
|
|
name: '@vuepress/internal-enhance-app',
|
|
|
|
enhanceAppFiles () {
|
|
const { sourceDir, themePath } = context
|
|
const enhanceAppPath = path.resolve(sourceDir, '.vuepress/enhanceApp.js')
|
|
const themeEnhanceAppPath = path.resolve(themePath, 'enhanceApp.js')
|
|
return [
|
|
enhanceAppPath,
|
|
themeEnhanceAppPath
|
|
]
|
|
}
|
|
})
|