vuetify-loader
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -14,3 +14,3 @@ const RuleSet = require('webpack/lib/RuleSet') | ||
// find the rule that applies to vue files | ||
let vueRuleIndex = rules.findIndex(rule => rule.use.find(u => u.loader === 'vue-loader')) | ||
let vueRuleIndex = rules.findIndex(rule => rule.use && rule.use.find(u => u.loader === 'vue-loader')) | ||
const vueRule = rules[vueRuleIndex] | ||
@@ -34,16 +34,2 @@ | ||
function createMatcher (fakeFile) { | ||
return (rule, i) => { | ||
// #1201 we need to skip the `include` check when locating the vue rule | ||
const clone = Object.assign({}, rule) | ||
delete clone.include | ||
const normalized = RuleSet.normalizeRule(clone, {}, '') | ||
return ( | ||
!rule.enforce && | ||
normalized.resource && | ||
normalized.resource(fakeFile) | ||
) | ||
} | ||
} | ||
module.exports = VuetifyLoaderPlugin |
{ | ||
"name": "vuetify-loader", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
15438
285