Post

What did you use to convert file extensions on imports? I'd like to do this for a project as well but I haven't found an obvious way to only convert relative imports.

0 reposts0 likes

In this instance it was only a few files. And like a few handful of extensions that needed changing. So I just did it manually this time. But I've done it with a regexp search before. Just match the initial dot and the dot-and-ext at the end.