denoify
denoify copied to clipboard
Cannot transform `import x, * as xs from "..."`
It's not a big deal, but Denoify currently fails to detect/transform imports with the following structure:
import x, * as xs from "..."
This is easily fixed by doing:
import { default as x } from "..."
import * as xs from "..."
But I think it should be considered a bug anyway.
Hi @denizdogan,
It's a bug indeed, or rather a syntax that I didn't know existed. Thanks for reporting.
Why do you deconstruct the default in your workaround?
import x from "..."; isn't properly transformed?
@garronej Just an old habit I guess, your version works too :)