Hi, thank you for your hard work and a cool extension.
I saw in the code you have a check that both files should be the same extension type.
But I have a huge legacy project that supports js/ts files and files there share the same import names. (so we're safe to copy those imports)
Is it possible to add a property to the extension that will allow us get imports between ts and js?
I guess we just need to pass the property and skip that condition?
|
if (!bothTs && !bothJs) { |
Thank you.
Hi, thank you for your hard work and a cool extension.
I saw in the code you have a check that both files should be the same extension type.
But I have a huge legacy project that supports js/ts files and files there share the same import names. (so we're safe to copy those imports)
Is it possible to add a property to the extension that will allow us get imports between ts and js?
I guess we just need to pass the property and skip that condition?
copy-with-imports/src/extension.ts
Line 15 in 4463e9c
Thank you.