hydrogen-web icon indicating copy to clipboard operation
hydrogen-web copied to clipboard

Removes .js suffix from imports in `src/`

Open ibeckermayer opened this issue 2 years ago • 0 comments

Whenever a file is changed from file.js to file.ts, its imports that use the form import {x} from "file.js" all break.

Rather than haphazardly change these one by one as I've been doing, its easiest to just change them all at once.

The previous example becomes import {x} from "file".

ibeckermayer avatar Aug 30 '22 03:08 ibeckermayer