package/rules/sass.js in jetpacker-0.5.0 vs package/rules/sass.js in jetpacker-0.6.0
- old
+ new
@@ -1,12 +1,15 @@
+/* eslint global-require: 0 */
+
const getStyleRule = require('../utils/get_style_rule')
const { additional_paths: includePaths } = require('../config')
module.exports = getStyleRule(/\.(scss|sass)(\.erb)?$/i, false, [
{
loader: 'sass-loader',
options: {
sourceMap: true,
+ implementation: require('sass'),
sassOptions: {
includePaths
}
}
}