文件观察器 JetBrains IDE 中的自动前缀
Autoprefixer in file watcher JetBrains IDEs
我之前做过,但不记得如何使用自动前缀为 LESS -> CSS 自定义文件观察器。
就像
--no-color $FileName$ --autoprefix="last 5 versions"
但现在不起作用。
my File Watcher settings.
我不会使用 gulp 等。我有 Node.js + npm和Less/Sass支持和autoprefixer插件和less-plugin-autoprefix
我使用了这个 https://github.com/less/less-plugin-autoprefix
中的 npm install -g less-plugin-autoprefix
对我来说很好用(Lessc 2.7.2,less-plugin-autoprefix 1.5.1)
.cls {
display: flex;
}
被转译为
.cls {
display: -ms-flexbox;
display: flex;
}
我之前做过,但不记得如何使用自动前缀为 LESS -> CSS 自定义文件观察器。 就像
--no-color $FileName$ --autoprefix="last 5 versions"
但现在不起作用。
my File Watcher settings. 我不会使用 gulp 等。我有 Node.js + npm和Less/Sass支持和autoprefixer插件和less-plugin-autoprefix 我使用了这个 https://github.com/less/less-plugin-autoprefix
中的npm install -g less-plugin-autoprefix
对我来说很好用(Lessc 2.7.2,less-plugin-autoprefix 1.5.1)
.cls {
display: flex;
}
被转译为
.cls {
display: -ms-flexbox;
display: flex;
}