Skip to content
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

[Feature Request] Postcss 8 支持 #5740

Closed
lizhongyue248 opened this issue Nov 26, 2020 · 7 comments
Closed

[Feature Request] Postcss 8 支持 #5740

lizhongyue248 opened this issue Nov 26, 2020 · 7 comments
Assignees

Comments

@lizhongyue248
Copy link

Background

目前 PostCss 插件很多都不再支持 Postcss7,需要自己去历史版本中寻找 Postcss 7 的支持,很是不方便。

比如 postcss-import 13 不支持 Postcss7,只支持 8,autoprefixer 只有 9 支持 7.

Proposal

升级到 Postcss 8

@ycjcl868
Copy link
Contributor

有什么新特性?

@lizhongyue248
Copy link
Author

@lizhongyue248
Copy link
Author

主要的是现在库的最新版本都是依赖 8,不然的话都会报这个错

Error: PostCSS plugin tailwindcss requires PostCSS 8.
Error: PostCSS plugin postcss-import requires PostCSS 8.
// ......

@ycjcl868
Copy link
Contributor

ycjcl868 commented Nov 30, 2020

可以先用 tailwindcss 1.x,2.x 大部分框架还用不了,因为 postcss-preset-env 未支持

extraPostCSSPlugins: [require('tailwindcss')],

@atzcl
Copy link
Contributor

atzcl commented Dec 13, 2020

@lizhongyue248 tailwindcss 2.x 可以先用着它的兼容包

@millievn
Copy link

millievn commented Jan 3, 2021

@ycjcl868 any news?

@ycjcl868
Copy link
Contributor

#6078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants