Potential Bug: Formatting hangs while formatting file.
IMFIL opened this issue · 5 comments
IMFIL commented
Hey folks,
Did not know how to classify this since I can't guarantee it's a bug.
As I was trying to format the following js code:
The formatting never completed even after waiting for 30 minutes for the process to end. The same file can be beautified in the browser in a couple of seconds.
dsherret commented
The code right now is not optimized for formatting minified files. It seems to take a long time in the playground too, so not a wasmer issue.
Would be good if I implemented dprint/dprint#263 to catch these more easily, but yeah there should be something done here to make this faster. I'll investigate this later.
aancw commented
Hi, is the issue is resolved? Or there is workaround for minified js file? Thank you very much.