Skip to content

Exclude list of files from being cached #76

Description

@fragsalat

Hey there,

maybe that's already possible but I'm searching for a possibility to exclude certain files from being cached.
The setup right now looks like src -> babel -> cache. My problem is that I have a babel plugin to inline an imported yaml file as js object. When this file changes I want to rebuild the bundle but as the importing file didn't changed it is still cached with the old value.

An option like exclude(file) { return file.path.inludes('file.js'); } would be cool

What do you think?

Best
FragSalat

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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