micro icon indicating copy to clipboard operation
micro copied to clipboard

v10 broken on windows

Open t8g opened this issue 2 years ago • 0 comments

Running micro on windows fail with

image

I think it's due to the usage of import(file) in handler.ts. It should be fixed with the usage of pathToFileURL https://nodejs.org/api/url.html#urlpathtofileurlpath

import(pathToFileURL(file).href)

Thanks for your work on this package !

t8g avatar Jan 14 '23 10:01 t8g