@epegzz/sass-vars-loader
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "@epegzz/sass-vars-loader", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"author": "Daniel Schäfer <epegzz@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "A SASS vars loader for Webpack. Load global SASS vars from JS/JSON files or from Webpack config.", |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
const loaderUtils = require('loader-utils'); | ||
@@ -6,3 +8,3 @@ const fs = require('fs'); | ||
function sassVarsLoader(content) { | ||
module.exports = function(content) { | ||
this.cacheable(); | ||
@@ -48,8 +50,2 @@ | ||
return [jsToSass(vars), content].join('\n'); | ||
} | ||
sassVarsLoader.prototype.apply = function(compiler) { | ||
console.log('------- compiler:', compiler); | ||
}; | ||
module.exports = sassVarsLoader; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9299
73