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
webpacker-6.0.0.rc.4 package/rules/sass.js
webpacker-6.0.0.rc.3 package/rules/sass.js
webpacker-6.0.0.rc.2 package/rules/sass.js
webpacker-6.0.0.rc.1 package/rules/sass.js