hydrogen-web
hydrogen-web copied to clipboard
Removes .js suffix from imports in `src/`
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"
.