Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Let us set baseDir & includeDir with consolidate plugin #1114

@cmseguin

Description

@cmseguin

Would it be possible to let us pass the baseDir & the includeDir as options to the plugin?

This is the line in the plugin file, we just need to pass them as options

file.contents = await consolidate[this.engine].render(file.contents, {
    cache: false,
    filename: 'base',
    basedir: file.context.homeDir,
    includeDir: file.context.homeDir
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions