gotwarlost / istanbul-middleware

Connect middleware for server side code coverage using istanbul
Other
179 stars 96 forks source link

For the code after stake insertion, import is not on the first line of the file #65

Open Yuanshandai opened 2 years ago

Yuanshandai commented 2 years ago

Hi, I have encountered a headache. After I used NYC instrument to insert piles, the imported code was not on the first line of the file, resulting in an error in compilation. Have you ever encountered this problem and whether there is a solution?