docs: make role of getQuartzComponents more clear and also make it optional
This commit is contained in:
parent
5b13ff2199
commit
2213424195
7 changed files with 7 additions and 19 deletions
|
@ -15,9 +15,6 @@ const filesToCopy = async (argv: Argv, cfg: QuartzConfig) => {
|
|||
export const Assets: QuartzEmitterPlugin = () => {
|
||||
return {
|
||||
name: "Assets",
|
||||
getQuartzComponents() {
|
||||
return []
|
||||
},
|
||||
async getDependencyGraph(ctx, _content, _resources) {
|
||||
const { argv, cfg } = ctx
|
||||
const graph = new DepGraph<FilePath>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue