From 0c00f48497d58bb50636cdbf22424a9a5d2a0b08 Mon Sep 17 00:00:00 2001 From: Marten Date: Tue, 12 Oct 2021 19:33:33 +0200 Subject: [PATCH 1/3] docs(readme): update getting started instructions add instruction to install postcss-preset-env in getting started section because it is used in the boilerplate configuration closes issue #548 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5352d27..c80d93e6 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ You need webpack v5 to use the latest version. For Webpack v4, you have to insta To begin, you'll need to install `postcss-loader` and `postcss`: ```console -npm install --save-dev postcss-loader postcss +npm install --save-dev postcss-loader postcss postcss-preset-env ``` Then add the plugin to your `webpack` config. For example: From 53961d7a9c53a6ae7d940c3797e4baaeded83e42 Mon Sep 17 00:00:00 2001 From: Marten Date: Wed, 13 Oct 2021 16:48:46 +0200 Subject: [PATCH 2/3] revert: "docs(readme): update getting started instructions" This reverts commit 0c00f48497d58bb50636cdbf22424a9a5d2a0b08. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c80d93e6..e5352d27 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ You need webpack v5 to use the latest version. For Webpack v4, you have to insta To begin, you'll need to install `postcss-loader` and `postcss`: ```console -npm install --save-dev postcss-loader postcss postcss-preset-env +npm install --save-dev postcss-loader postcss ``` Then add the plugin to your `webpack` config. For example: From 26ee67abbe85867a103f66548f3ae3c3f27dc582 Mon Sep 17 00:00:00 2001 From: Marten Date: Wed, 13 Oct 2021 17:06:07 +0200 Subject: [PATCH 3/3] docs(readme): add note that plugin postcss-preset-env is used in config 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 #548 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e5352d27..4e1dd12e 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ npm install --save-dev postcss-loader postcss Then add the plugin to your `webpack` config. For example: +> In the following configuration the plugin [`postcss-preset-env`](https://github.com/csstools/postcss-preset-env) is used, which is not installed by default. + **file.js** ```js