build
build copied to clipboard
Value of `netlifyConfig.build.processing` passed to plugins does not reflect values set in the UI
Describe the bug
If a site has enabled post-processing in the UI, this fact is not exposed in the config object passed top plugins. This is in contrast to other build settings which do include UI values. It would be useful to have acess to this, because frameworks may need to warn a user if it is incompatible with their settings. See https://github.com/netlify/netlify-plugin-nextjs/issues/994
Configuration
- Enable post-processing on a site
- Log value of
netlifyConfig.build.processinginonPreBuild - Observe it is always set to
{ css: {}, html: {}, images: {}, js: {} }
Thanks for finding this bug @ascorbic.
This is a bug in Bitballoon and the buildbot. I have filed https://github.com/netlify/buildbot/issues/1911 to keep track of it. The problem and its solution seems to be quite straightforward.
This issue has been automatically marked as stale because it has not had activity in 1 year. It will be closed in 14 days if no further activity occurs. Thanks!