npm install jQuery --save-dev
Install jQuery, and the error after webpack packaging is as follows
But it does not affect the use, the page is not The error is reported and the display effect is correct. What is the error reported below and how to solve it?
为情所困2017-06-14 10:56:12
What version of jQuery do you have installed? The main is not set in the package.json of the early version of jQuery. Just set it manually
resolve: {
alias: {
jquery: "jquery/src/jquery"
}
}