Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
martenmatrix opened this issue Oct 12, 2021 · 1 comment · Fixed by #549

Comments

@martenmatrix
Copy link
Contributor

martenmatrix commented Oct 12, 2021

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

@alexander-akait
Copy link
Member

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

martenmatrix added a commit to martenmatrix/postcss-loader that referenced this issue Oct 12, 2021
add instruction to install postcss-preset-env in getting started section
because it is used in the boilerplate configuration

closes issue webpack-contrib#548
martenmatrix added a commit to martenmatrix/postcss-loader that referenced this issue Oct 13, 2021
…ig example

add note that postcss-preset-env is not installed by default in getting started
section because it is used in the boilerplate configuration

closes webpack-contrib#548
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants