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
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 coolWhat do you think?
Best
FragSalat