Noticed that my editor includes the .js suffix for JS files when it "auto-imports" them.
I'll look into an ESLint thing or something, but just figured I'd cut them for now.
Differential D3706
[web] Remove extraneous `.js` suffix at end of some imports atul on Apr 11 2022, 2:57 PM. Authored by Tags None Referenced Files
Subscribers
Details Noticed that my editor includes the .js suffix for JS files when it "auto-imports" them. I'll look into an ESLint thing or something, but just figured I'd cut them for now. flow
Diff Detail
Event TimelineComment Actions Seems fine, although I think Node's ESM support eventually will want the .js suffix included. (That's why we have to use --experimental-specifier-resolution=node) Comment Actions
Ah gotcha, guess it's not a huge deal either way for now then? Comment Actions
Yeah, and I agree consistency is a good thing so this diff makes sense |