Sha256: cb95ac9eb123f993ea0fe45a996cd2c37b93a6d3c2f51c823f78777d571ff5c8
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
say "Install Sass" copy_file "#{__dir__}/application.sass.scss", "app/assets/stylesheets/application.sass.scss" run "yarn add sass" say "Add build:css script" build_script = "sass ./app/assets/stylesheets/application.sass.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 else run %(npm set-script build:css "#{build_script}") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cssbundling-rails-0.2.6 | lib/install/sass/install.rb |
cssbundling-rails-0.2.5 | lib/install/sass/install.rb |