Description
After this PR wp-build pages are breaking with the following message:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `RootSinglePage`.
Step-by-step reproduction instructions
- Go to a page that uses
wp-build.
- Check the error.
A simple plugin where this can be tested: https://github.com/dhasilva/minimal-wp-build-test (ignore the "No Gutenberg" thing, it was meant to debug another issue, but serves to test this as well)
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
After this PR wp-build pages are breaking with the following message:
Step-by-step reproduction instructions
wp-build.A simple plugin where this can be tested: https://github.com/dhasilva/minimal-wp-build-test (ignore the "No Gutenberg" thing, it was meant to debug another issue, but serves to test this as well)
Screenshots, screen recording, code snippet
Environment info
trunkPlease confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.