Vue inspect to view the webpack configuration of the project

Development environment: npx vue-cli-service inspect --mode development >> webpack.config.development.js
Production environment: npx vue-cli-service inspect --mode production >> webpack.config.production.js

npx vue-cli-service can be replaced with vue

At the beginning of the generated js file, add: module.exports =, then format it to view.

Guess you like

Origin blog.csdn.net/weixin_40013817/article/details/115242828