We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bad2abc + 14df836 commit 7b8d6f3Copy full SHA for 7b8d6f3
lib/install/postcss/install.rb
@@ -1,7 +1,7 @@
1
say "Install PostCSS w/ nesting and autoprefixer"
2
copy_file "#{__dir__}/postcss.config.js", "postcss.config.js"
3
copy_file "#{__dir__}/application.postcss.css", "app/assets/stylesheets/application.postcss.css"
4
-run "yarn add postcss postcss-cli postcss-nesting autoprefixer"
+run "yarn add postcss postcss-cli postcss-import postcss-nesting autoprefixer"
5
6
say "Add build:css script"
7
build_script = "postcss ./app/assets/stylesheets/application.postcss.css -o ./app/assets/builds/application.css"
lib/install/postcss/postcss.config.js
@@ -1,5 +1,6 @@
module.exports = {
plugins: [
+ require('postcss-import'),
require('postcss-nesting'),
require('autoprefixer'),
],
0 commit comments