Skip to content

Commit b3c9cdd

Browse files
committed
Treat HTML5 bin output as canonical and consistent, do minify on -final builds into bin (NPM minification would require a second/seperate build)
1 parent 7ff602a commit b3c9cdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/platforms/HTML5Platform.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class HTML5Platform extends PlatformTarget
165165
System.copyFileTemplate(project.templatePaths, "html5/output.js", outputFile, context);
166166
}
167167

168-
if (project.targetFlags.exists("minify") || (type == "final" && !npm))
168+
if (project.targetFlags.exists("minify"))
169169
{
170170
HTML5Helper.minify(project, outputFile);
171171
}

0 commit comments

Comments
 (0)