是否有 postcss 插件将 scss 编译为 css(gulp)?
Is there a postcss plugin which compiles scss to css(gulp)?
例如,postcss-scss is not a plugin but a parser, which does not compile scss to css. I know there is a gulp-sass 它运行良好。
我想开始使用 postcss 插件的原因是因为他们说 postcss can be more than 30 times faster.
但我似乎找不到 postcss 的插件可以将 scss 编译为 css。请帮忙
请注意,PostCSS 不应与 SCSS 在一个工作流程例程中一起使用,因为这几乎违背了它的目的。它是 SCSS 到 CSS 或 PostCSS 到 CSS.
如您所述,有一个 postcss-scss 解析器,但是 用于在使用 [=20 时使用 SCSS 语法 =]CSS:
PostCSS can transform styles in any syntax, not just CSS.
例如,postcss-scss is not a plugin but a parser, which does not compile scss to css. I know there is a gulp-sass 它运行良好。
我想开始使用 postcss 插件的原因是因为他们说 postcss can be more than 30 times faster.
但我似乎找不到 postcss 的插件可以将 scss 编译为 css。请帮忙
请注意,PostCSS 不应与 SCSS 在一个工作流程例程中一起使用,因为这几乎违背了它的目的。它是 SCSS 到 CSS 或 PostCSS 到 CSS.
如您所述,有一个 postcss-scss 解析器,但是 用于在使用 [=20 时使用 SCSS 语法 =]CSS:
PostCSS can transform styles in any syntax, not just CSS.