Sha256: 0ec2a863048ffba697ee47d566c9956470eedbd0b505fe79c2c4e2028f3876a7

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

require_relative "../helpers"
self.extend Helpers

apply "#{__dir__}/../install.rb"

say "Install Sass"
copy_file "#{__dir__}/application.sass.scss", "app/assets/stylesheets/application.sass.scss"
run "#{bundler_cmd} add sass"

say "Add build:css script"
add_package_json_script "build:css",
  "sass ./app/assets/stylesheets/application.sass.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules"

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
cssbundling-rails-1.4.1 lib/install/sass/install.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/cssbundling-rails-1.4.0/lib/install/sass/install.rb
cssbundling-rails-1.4.0 lib/install/sass/install.rb