Open
Description
Description
Working with the Gutenberg plugin while developing a project, I found out that Gutenberg enqueues minified scripts that complicate debugging. At the same time, the same files in Core will be enqueued without minification if the SCRIPT_DEBUG is true and Gutenberg is deactivated.
Step-by-step reproduction instructions
- Activate Gutenberg plugin
define( 'SCRIPT_DEBUG', true );
- Check in the Network tab in the Developer Tools that scripts from the build folder are still minified.
Screenshots, screen recording, code snippet
No response
Environment info
Gutenberg v19.9.0
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure