You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you load a minified javascript, parse it to AST and serialize that AST back to text, the text output will have human-readable output with newlines, indentation, etc.
In order to retain the minification of the JavaScript output, one needs to explicitly call jsAsset.minify().
Expected behavior:
Assegraph should keep minified assets minified, despite them going through AST parsing, modification and serializations.
When you load a minified javascript, parse it to AST and serialize that AST back to text, the text output will have human-readable output with newlines, indentation, etc.
In order to retain the minification of the JavaScript output, one needs to explicitly call
jsAsset.minify()
.Expected behavior:
Assegraph should keep minified assets minified, despite them going through AST parsing, modification and serializations.
Relates to Munter/netlify-plugin-hashfiles#134
The text was updated successfully, but these errors were encountered: