svelte-preprocess-cssmodules
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -43,3 +43,3 @@ const path = require('path') | ||
for (const includePath of pluginOptions.includePaths) { | ||
if (filename.indexOf(path.resolve(__dirname, includePath)) === -1) { | ||
if (filename.indexOf(path.resolve(includePath)) === -1) { | ||
return { code }; | ||
@@ -52,3 +52,3 @@ } | ||
return { code }; | ||
} | ||
} | ||
@@ -90,3 +90,3 @@ const styles = content.match(regex.style); | ||
export default (options) => { | ||
module.exports = (options) => { | ||
for (const option in options) { | ||
@@ -93,0 +93,0 @@ pluginOptions[option] = options[option]; |
{ | ||
"name": "svelte-preprocess-cssmodules", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Svelte preprocessor to generate CSS Modules classname on Svelte components", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"loader-utils": "^1.1.0" | ||
"loader-utils": "^2.0.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "peerDependencies": { |
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
10996
5
+ Addedjson5@2.2.3(transitive)
+ Addedloader-utils@2.0.4(transitive)
- Removedjson5@1.0.2(transitive)
- Removedloader-utils@1.4.2(transitive)
- Removedminimist@1.2.8(transitive)
Updatedloader-utils@^2.0.0