/* 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 },
        implementation: require('sass')
      }
    }
  ])
)

@@ -394,49 +394,8 @@
 hs %7D
-,%0A        implementation: require('sass')
 %0A   

Remove unnecessary `implementation` option (#3111)