We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d8a7a commit 6222170Copy full SHA for 6222170
packages/@vuepress/core/lib/eject.js
@@ -13,10 +13,5 @@ module.exports = async (dir) => {
13
const source = require.resolve('@vuepress/theme-default')
14
const target = path.resolve(dir, '.vuepress/theme')
15
await fs.copy(source, target)
16
- // remove the import to default theme override
17
- const styleConfig = path.resolve(target, 'styles/config.styl')
18
- const content = await fs.readFile(styleConfig, 'utf-8')
19
- const transformed = content.split('\n').slice(0, -2).join('\n')
20
- await fs.writeFile(styleConfig, transformed)
21
logger.success(`\nCopied default theme into ${chalk.cyan(target)}.\n`)
22
}
0 commit comments