netlify-plugin-debug-cache
netlify-plugin-debug-cache copied to clipboard
This doesn't seem to work?
My build download doesn't contain the cache-output.json
that this plugin is meant to add..
Is there anything obvious I'm doing wrong? https://github.com/jasikpark/jasik-xyz
I had the same experience just now.
Does following the updated instructions from PR #10 work for you? I don't have a top-level NPM package to try with.
I still have this issue when enabling the plugin through the UI.
Interesting, the plugin is in fact running:
+1 - no cache output generated
I believe the root cause of this not working is that the plugin creates this cache-output.json
file after the deploy so the file isn't included in the deploy when you download it.
The fix is to run the plugin after the build and function bundling but before the deploy itself.
I have a local branch ready to PR to fix this and I am working on getting access to this repo to do so.
Our build is too big to download it over and over again only to get to this file. We would need a separate place to download only this file. Or define a directory so we can move it to our dist folder and make it public available.