- webpack webpack-cli webpack-dev-server
- css-loader style-loader
- postcss-loader autoprefixer
- less-loader less
- file-loader url-loader
- babel-loader @babel/core @babel/preset-env
- html-webpack-plugin
- eslint eslint-loader
- stylelint stylelint-webpack-plugin stylelint-config-standard
- jest jest-webpack
- webpack.production.js
- webpack.development.js
- webpack.test.js
- js/
- less/
- css/
- imgs/
- index.js/
./node_modules/.bin/eslint --init
webpack
eslint is a loader stylelint is a plugin, so it is in plugin. Also need to add it in the package.json
The relationship of options in the list is OR
"test": "jest-webpack" cannot use --env.test, which will have conflicts with the settings of jest-webpack
plugins will search for everyting, no matter it is imported or not