Sha256: 5f44e2aeca21bd4d1fd1964a2268a1521a14fd22de2aa3a9a09b7372adb41755

Contents?: true

Size: 419 Bytes

Versions: 44

Compression:

Stored size: 419 Bytes

Contents

/* eslint global-require: 0 */

const getStyleRule = require('../utils/get_style_rule')
const { canProcess } = require('../utils/helpers')
const { additional_paths: includePaths } = require('../config')

module.exports = canProcess('sass-loader', (resolvedPath) =>
  getStyleRule(/\.(scss|sass)(\.erb)?$/i, [
    {
      loader: resolvedPath,
      options: {
        sassOptions: { includePaths }
      }
    }
  ])
)

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
shakapacker-7.2.3 package/rules/sass.js
shakapacker-7.3.0.beta.1 package/rules/sass.js
shakapacker-7.2.2 package/rules/sass.js
shakapacker-7.2.1 package/rules/sass.js
shakapacker-7.2.0 package/rules/sass.js
shakapacker-7.2.0.rc.0 package/rules/sass.js
shakapacker-7.1.0 package/rules/sass.js
shakapacker-7.0.3 package/rules/sass.js
shakapacker-7.0.2 package/rules/sass.js
shakapacker-7.0.1 package/rules/sass.js
shakapacker-7.0.0 package/rules/sass.js
shakapacker-7.0.0.rc.2 package/rules/sass.js
shakapacker-7.0.0.rc.1 package/rules/sass.js
shakapacker-7.0.0.rc.0 package/rules/sass.js
shakapacker-6.6.0 package/rules/sass.js
shakapacker-6.5.6 package/rules/sass.js
shakapacker-6.5.5 package/rules/sass.js
shakapacker-6.5.4 package/rules/sass.js
shakapacker-6.5.3 package/rules/sass.js
shakapacker-6.5.2 package/rules/sass.js