in the process of learning webpack packaging, other js files are introduced with require in main.js, then the service is started with webpack-dev-server , and an error is reported after opening it
.
webpack.config.js is configured as follows:

package.json:

:

main.js:
lodash.js:
index.html:
npm run dev:
