Skip to content

Commit b5e110c

Browse files
authored
Clarify CSS auto-prefixing in Next.js setup
1 parent 7433dfe commit b5e110c

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

  • apps/website/docs/learn/environment-setup

apps/website/docs/learn/environment-setup/02-next.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,16 @@ const config = {
6666
babelConfig: babelLoader,
6767
useLayers: true,
6868
},
69-
autoprefixer: {},
69+
// If your pipeline doesn't already do CSS auto-prefixing, feel free to install as well autoprefixer
70+
// $ npm install --dev autoprefixer
71+
// and uncomment the line below
72+
// autoprefixer: {},
7073
},
7174
};
7275

7376
export default config;
7477
```
7578

76-
If necessary, run
77-
78-
```
79-
npm install --dev autoprefixer
80-
```
81-
8279
## Next.js configuration
8380

8481
Create or edit the `next.config.js` file as follows. Note that below you will find config for both turbopack or webpack.

0 commit comments

Comments
 (0)