Answer the question
In order to leave comments, you need to log in
Why is webpack not finding the module?
when I do an import like this,
it gives an error, they say I can’t find the module,
but this is how everything works,
please explain what kind of magic import something from "test_module"
import something from "./test_module"
Answer the question
In order to leave comments, you need to log in
The first entry imports from node_modules by default.
The second entry imports by relative path.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question