During the initial learning of webpack, enter the following code in the command line tool according to the video
webpack ./src/main.js ./dist/bundle.js
The following error is displayed
Reason: the version of webpack is higher and the statement version used is lower
Solution: Change to the following code
webpack ./src/main.js -o ./dist/bundle.js