jlengstorf / netlify-plugin-gatsby-cache

185 stars 21 forks source link

Should this plugin cache the publish directory? #9

Closed ehmicky closed 4 years ago

ehmicky commented 4 years ago

This plugin caches PUBLISH_DIR (renamed from BUILD_DIR) which is the "Publish directory" set in the UI or in the configuration file (build.publish).

This issue is just to confirm that this is the intended behavior, i.e. that within Netlify, Gatsby always uses that publish directory to build files. Is this the case? Thanks!

jlengstorf commented 4 years ago

Gatsby always uses public — that's hard-coded into the build process