Skip to content

not minifying line breaks after function end #87

Open
@columbian-chris

Description

@columbian-chris

JShrink doesn't appear to be removing line breaks after the end of a function.

Example:

	window.dataLayer = window.dataLayer || [];
	function gtag(){dataLayer.push(arguments);}
	gtag('js', new Date());

...becomes...

window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}
gtag('js',new Date());

Notice the line break not removed after the } character.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions