✅ – echoloid – 13-55 Mar 15

May I know,
How the statement
import {react} from "react"

Able to find the actual react module present in the node_modules without using any absolute path like
basically that's built into node. there's a specific search pattern it uses when the import doesn't contain a path indicator
So it's actually doing the file search like as in regular expressions, or via the grep, sed to find the appropriate file internally...
UUUnknown User3/16/2023
3 Messages Not Public
Sign In & Join Server To View