Skip to content

add cache option #30

@tamtakoe

Description

@tamtakoe

I can generate some content manually. F.e. I use config.js for local work, but for production I use other config. It would be good to put some files contents in the cache. Moreover, the use of cache (cache: true) optimizes inlining files repeatedly.

.pipe(inline({
    cache: {
        'config.js': 'my content'
    }
}))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions