fix(v2): swizzle minor improvements (#3225)

* improve swizzle messages

* docs should allow to swizzle in --typescript

* minor swizzle cli improvements
This commit is contained in:
Sébastien Lorber 2020-08-06 14:47:36 +02:00 committed by GitHub
parent ef9314e5a4
commit 0079f0e8d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 42 deletions

View file

@ -110,6 +110,10 @@ export default function pluginContentDocs(
return path.resolve(__dirname, './theme');
},
getTypeScriptThemePath() {
return path.resolve(__dirname, '..', 'src', 'theme');
},
extendCli(cli) {
const command = isDefaultPluginId
? 'docs:version'