要查看Webpack版本,可以在命令行中运行以下命令:
npm list webpack --depth=0
或者在项目的package.json文件中查找webpack的版本号。
package.json
webpack