webpack-contrib / postcss-loader

PostCSS loader for webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configuration template includes "postcss-preset-env" plugin, however it does not tell you to install it

martenmatrix opened this issue · comments

Modification Proposal

Expected Behavior / Situation

In Getting Started section, it should tell you to also install postcss-preset-env because in the provided boilerplate-configuration, the plugin is used.
This line npm install --save-dev postcss-loader postcss should change to npm install --save-dev postcss-loader postcss postcss-preset-env.

Actual Behavior / Situation

The Getting Started guide does not tell you to install postcss-preset-env.

Please paste the results of npx webpack info here, and mention other relevant information

System:
OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
Memory: 20.48 GB / 31.27 GB
Binaries:
Node: 16.10.0 - ~/Desktop/weather-app/node_modules/.bin/node
npm: 6.14.15 - /usr/local/bin/npm
Browsers:
Chrome: 94.0.4606.71
Firefox: 93.0
Packages:
html-webpack-plugin: ^5.3.2 => 5.3.2
webpack: ^5.53.0 => 5.56.0
webpack-bundle-analyzer: ^4.5.0 => 4.5.0
webpack-cli: ^4.8.0 => 4.8.0
webpack-dev-server: ^4.0.0 => 4.3.0

Because it is just plugin example, anyway feel free to improve docs