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-6.5.1 package/rules/sass.js
shakapacker-6.5.0 package/rules/sass.js
shakapacker-6.4.1 package/rules/sass.js
shakapacker-6.4.0 package/rules/sass.js
shakapacker-6.3.0 package/rules/sass.js
shakapacker-6.3.0.pre.rc.1 package/rules/sass.js
shakapacker-6.2.1 package/rules/sass.js
shakapacker-6.2.0 package/rules/sass.js
shakapacker-6.1.1 package/rules/sass.js
shakapacker-6.1.0 package/rules/sass.js
shakapacker-6.1.0.beta.0 package/rules/sass.js
shakapacker-6.0.2 package/rules/sass.js
shakapacker-6.0.1 package/rules/sass.js
shakapacker-6.0.0 package/rules/sass.js
shakapacker-6.0.0.rc.14 package/rules/sass.js
shakapacker-6.0.0.rc.13 package/rules/sass.js
shakapacker-6.0.0.rc.12 package/rules/sass.js
shakapacker-6.0.0.rc.6 package/rules/sass.js
webpacker-6.0.0.rc.6 package/rules/sass.js
webpacker-6.0.0.rc.5 package/rules/sass.js