lib/install/bulma/install.rb in cssbundling-rails-1.0.0 vs lib/install/bulma/install.rb in cssbundling-rails-1.1.0
- old
+ new
@@ -5,10 +5,10 @@
say "Add build:css script"
build_script = "sass ./app/assets/stylesheets/application.bulma.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules"
if (`npx -v`.to_f < 7.1 rescue "Missing")
- say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
+ say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :red
else
run %(npm set-script build:css "#{build_script}")
run %(yarn build:css)
end