I just realized that when doing a production build of a plugin, the JavaScript is getting minified (which is good) but there is no unminified version which is also being distributed. When SCRIPT_DEBUG is enabled, the unminified dev version of scripts should be used instead. Additionally, when using the minified version it would be great if a source map could connect it to the unminified version.
As it stands, the only JS distributed with Optimization Detective is the minified versions:
I just realized that when doing a production build of a plugin, the JavaScript is getting minified (which is good) but there is no unminified version which is also being distributed. When
SCRIPT_DEBUG
is enabled, the unminified dev version of scripts should be used instead. Additionally, when using the minified version it would be great if a source map could connect it to the unminified version.As it stands, the only JS distributed with Optimization Detective is the minified versions: