Does the resolve module in webpack4 not work with the path.resolve () method?

problem description

webpack configuration


the environmental background of the problems and what methods you have tried

if you delete resolve: {.}, you will not get an error.
is it possible that these two methods cannot be used together? Or is there something wrong with my configuration


Hello, there is no relationship between resolve and path.resolve . You can use it together. Look at the code you posted. What does resolve mean here? Check to see if there is a mistake here

Menu