Skip to content

将 koot-css-loader 改写为 postcss 插件 #298

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

Open
Diablohu opened this issue Apr 27, 2021 · 3 comments
Open

将 koot-css-loader 改写为 postcss 插件 #298

Diablohu opened this issue Apr 27, 2021 · 3 comments
Labels
bundling process enhancement New feature or request

Comments

@Diablohu
Copy link
Member

本身已按照 postcss 方式开发,但在 webpack 处理过程中,postcss 会被调用 2 次

@Diablohu Diablohu added bundling process enhancement New feature or request labels Apr 27, 2021
@Diablohu
Copy link
Member Author

className 不一致现象

image

@Diablohu
Copy link
Member Author

className 处理函数独立的单元测试

@Diablohu
Copy link
Member Author

复查了一遍逻辑,现在自用 loader 使用 postcss.parse() 处理 css 源代码,原则上没有挂载其他插件(需要测试

0.15 中暂不加入该改动,改到 0.16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bundling process enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant