Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value of netlifyConfig.build.processing passed to plugins does not reflect values set in the UI #3946

Open
ascorbic opened this issue Dec 15, 2021 · 2 comments
Labels

Comments

@ascorbic
Copy link
Contributor

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 opennextjs/opennextjs-netlify#994

Configuration

  • Enable post-processing on a site
  • Log value of netlifyConfig.build.processing in onPreBuild
  • Observe it is always set to { css: {}, html: {}, images: {}, js: {} }
@ascorbic ascorbic added the type: bug code to address defects in shipped code label Dec 15, 2021
@ehmicky
Copy link
Contributor

ehmicky commented Dec 15, 2021

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.

@github-actions
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants