Closed munrocket closed 2 years ago
This feature can be implemented as another plugin. This one does one thing - converts file content to module. All optimisations should be done by prior plugins.
@TrySound do you have an example that works for all entire file or with exported strings only? I think this is good suggest. Feature with replace EOL should be out of the box.
@TrySound Ok, I replaced \n
but I also want to remove spaces in my css and svg.
This problem don't have good solution without this PR or some similar improvement.
Minifiers not works with strings