Sha256: f1d92d01f0ca82e869460d1d9c505d2bb828f139b51618498f3bd837935d02be
Contents?: true
Size: 651 Bytes
Versions: 43
Compression:
Stored size: 651 Bytes
Contents
// The Rails server imports this file via app/assets/stylesheets/application.css.scss // The webpack HMR dev server loads this file via client/bootstrap-sass.config.js // This file allows the same sass code with Rails and node-sass for the Webpack Dev Server. // It is CRTICAL that this file is loaded first. $rails: false !default; // defaults to false (e.g. webpack environment) // Sass 3 removes image-url helper // https://github.com/sass/libsass/issues/489 $image-url-path: '/assets/images/' !default; @function img-url($image) { @if $rails { @return image-url($image); } @else { @return url('#{$image-url-path}#{$image}'); } }
Version data entries
43 entries across 43 versions & 1 rubygems