Open
Description
SvelteKit docs specify the static folder as "static assets that should be served as-is"
Formatting any js files is not complying with "as-is"
There's nothing stopping someone from using an external formatter for static files however I frequently encounter the issue where prettier formats my minified js file and increases files size (defeating the point of minification).
This fix is as simple as adding /static
at the end of the prettier ignore file
Metadata
Metadata
Assignees
Labels
No labels