Answer the question
In order to leave comments, you need to log in
Why doesn't webpack-dev-server see ./src?
The structure is:
-frontend
--webpack.config.js
--src
-package.json
In package.json I have a command:
"start-frontend": "webpack-dev-server --mode development --open --hot --content-base ./frontend",
ERROR in multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src
Module not found: Error: Can't resolve './src' in '/Users/shchypylov/Documents/projects/playground/sell_fullstack'
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src
ℹ 「wdm」: Failed to compile.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question