[wp-trac] [WordPress Trac] #58660: Block editor fails to initialize when loading minified scripts

WordPress Trac noreply at wordpress.org
Wed Jun 28 18:57:42 UTC 2023


#58660: Block editor fails to initialize when loading minified scripts
--------------------------+--------------------
 Reporter:  azaozz        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  6.3
Component:  Editor        |    Version:  trunk
 Severity:  blocker       |   Keywords:
  Focuses:                |
--------------------------+--------------------
 Happens when `SCRIPT_DEBUG = false`. Seems the `block-library.js` file
 wasn't minified properly.

 Throws these errors:
 {{{
 Uncaught SyntaxError: unexpected token: ':'       block-
 library.min.js:14:127081
 Uncaught TypeError: i is undefined                edit-
 post.min.js:7:123891
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58660>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list