Changes between Version 1 and Version 2 of Ticket #58472, comment 33
- Timestamp:
- 06/28/2023 04:25:00 PM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58472, comment 33
v1 v2 1 1 Seems the minified script fails with `ReferenceError: c is not defined`. Happens in production where `SCRIPT_DEBUG = false`. 2 2 3 Most likely caused by the minifier failing to handle the code where functions get passed to run in the Worker. Also see the comment here: https://github.com/WordPress/wordpress-develop/pull/4562/files#diff-83d8ed9928b125b09de0268ee4775d21a58b93ed92da09828359760f9200b069R352 and a suggested fix here: https://wordpress.slack.com/archives/C02RQBWTW/p1687967842409629?thread_ts=1687963471.592929&cid=C02RQBWTW .3 Most likely caused by the minifier failing to handle the code where functions get passed to run in the Worker. Also see the comment here: https://github.com/WordPress/wordpress-develop/pull/4562/files#diff-83d8ed9928b125b09de0268ee4775d21a58b93ed92da09828359760f9200b069R352 and a suggested fix here: https://wordpress.slack.com/archives/C02RQBWTW/p1687967842409629?thread_ts=1687963471.592929&cid=C02RQBWTW (thanks @joemcgill). 4 4 5 5 As this fails in production it would probably be best to revert for now and fix and reintroduce in time for beta2.