refactor: clean up dependencies (#6470)

This commit is contained in:
Joshua Chen 2022-01-26 13:12:03 +08:00 committed by GitHub
parent f0b08f493d
commit 83fb3a825f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 29 additions and 220 deletions

View file

@ -27,6 +27,10 @@ export default function pluginDebug({
return path.resolve(__dirname, '../lib/theme');
},
getTypeScriptThemePath() {
return path.resolve(__dirname, '../src/theme');
},
async contentLoaded({actions: {createData, addRoute}, allContent}) {
const allContentPath = await createData(
// Note that this created data path must be in sync with