Ask for a copy of the configuration of webpack

follow the webpack tutorial on the official website, and some places are specious, and I don"t know how to use it, so I want a more mature webpack configuration, including webpack.common.js , webpack.dev.js , webpack.prod.js , package.json

.
Mar.07,2021

you can create a project with vue-cli, and then look at its webpack configuration. You can also use create-react-app. Then execute npm run reject to see the configuration file



you can take a look at this, which includes js format check. Browser prefix automatic loading and other functions
npm package address
https://www.npmjs.com/package., configuration is still very simple


what you need may be comments: getting started Webpack, Just read this article


Webpack( including 4) configuration details-- configure a set of development templates from 0

Menu