Skip to content
Fireship
×0.4YouTube short

VS Code Path Trick w/ JavaScript #Shorts

FFireship@Fireship · 4.3M subscribers
Views
486K
485,518
Outlier
×0.4
Median 1.3M
Length
0:24
Published
Mar 21, 2021
Sunday
Comments
601
43.3K likes
Shares
0
9.0% engagement

Script

No transcript

Scout reads the transcripts of shorts for channels that only post shorts. This channel's long-form videos have them instead.

Description

Use path mapping to avoid fumbling over long relative module imports in your JavaScript code. Just create a JSconfig.json file in VS Code, or use an existing TSconfig.

#webdev #js #shorts

See it in action in the full Next.js Course source code https://fireship.io/courses/react-nex...

Official VS Code docs https://code.visualstudio.com/docs/la...

More from Fireship

Search Scout

Search creators, videos and pages, then press Enter to open one.