-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(PostCSS): disable "Complex selectors" warning
We don't need an `:is()` polyfill, so the warning is just an annoyance. Also, remove explicit `autoprefixer` as it's included in `postcss-preset-env`.
- Loading branch information
1 parent
febdd1d
commit 5603847
Showing
3 changed files
with
15 additions
and
157 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import postcssPresetEnv from 'postcss-preset-env'; | ||
import tailwindcss from 'tailwindcss'; | ||
import autoprefixer from 'autoprefixer'; | ||
|
||
export default { | ||
plugins: [postcssPresetEnv, tailwindcss, autoprefixer], | ||
plugins: [ | ||
postcssPresetEnv({ | ||
features: { | ||
// Disable warning about "Complex selectors" | ||
'is-pseudo-class': false, | ||
}, | ||
}), | ||
tailwindcss, | ||
], | ||
}; |