Scripts from the build/ folder are enqueued without respecting SCRIPT_DEBUG #68368
Open
3 of 6 tasks
Labels
Gutenberg Plugin
Issues or PRs related to Gutenberg Plugin management related efforts
[Type] Bug
An existing feature does not function as intended
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
define( 'SCRIPT_DEBUG', true );
Screenshots, screen recording, code snippet
No response
Environment info
Gutenberg v19.9.0
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.
The text was updated successfully, but these errors were encountered: