Skip to content

Unminified source JS files and source maps are not distributed with builds #1493

@westonruter

Description

@westonruter

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:

Metadata

Metadata

Labels

Good First IssueIssue particularly suitable to be worked on by new contributorsInfrastructureIssues for the overall performance plugin infrastructure[Plugin] Optimization DetectiveIssues for the Optimization Detective plugin[Type] EnhancementA suggestion for improvement of an existing feature

Projects

Status

Done 😃

Relationships

None yet

Development

No branches or pull requests

Issue actions