Skip to content

Commit

Permalink
fix: downgrade autoprefixer
Browse files Browse the repository at this point in the history
meant to avoid:

```sh
...
Error: PostCSS plugin autoprefixer requires PostCSS 8.
...
```

redwoodjs#3515 (comment)
parcel-bundler/parcel#5160
  • Loading branch information
virtuoushub committed Feb 25, 2022
1 parent d8403e6 commit 5e49723
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/cli/src/commands/setup/ui/libraries/tailwindcss.js
Expand Up @@ -57,7 +57,12 @@ const tailwindImportsAndNotes = [
export const handler = async ({ force, install }) => {
const rwPaths = getPaths()

const packages = ['postcss', 'postcss-loader', 'tailwindcss', 'autoprefixer']
const packages = [
'postcss',
'postcss-loader',
'tailwindcss',
'autoprefixer@^9.8.8',
]

const tasks = new Listr([
{
Expand Down

0 comments on commit 5e49723

Please sign in to comment.