vue-loader
Advanced tools
Comparing version 15.9.7 to 15.9.8
@@ -0,1 +1,11 @@ | ||
<a name="15.9.8"></a> | ||
## [15.9.8](https://github.com/vuejs/vue-loader/compare/v15.9.7...v15.9.8) (2021-08-02) | ||
### Bug Fixes | ||
* fix webpack 5.48 compatibility ([c4c5f17](https://github.com/vuejs/vue-loader/commit/c4c5f17)), closes [#1859](https://github.com/vuejs/vue-loader/issues/1859) | ||
<a name="15.9.7"></a> | ||
@@ -2,0 +12,0 @@ ## [15.9.7](https://github.com/vuejs/vue-loader/compare/v15.9.6...v15.9.7) (2021-05-11) |
@@ -6,6 +6,17 @@ const qs = require('querystring') | ||
const BasicMatcherRulePlugin = require('webpack/lib/rules/BasicMatcherRulePlugin') | ||
const DescriptionDataMatcherRulePlugin = require('webpack/lib/rules/DescriptionDataMatcherRulePlugin') | ||
const RuleSetCompiler = require('webpack/lib/rules/RuleSetCompiler') | ||
const UseEffectRulePlugin = require('webpack/lib/rules/UseEffectRulePlugin') | ||
const objectMatcherRulePlugins = [] | ||
try { | ||
const ObjectMatcherRulePlugin = require('webpack/lib/rules/ObjectMatcherRulePlugin') | ||
objectMatcherRulePlugins.push( | ||
new ObjectMatcherRulePlugin('assert', 'assertions'), | ||
new ObjectMatcherRulePlugin('descriptionData') | ||
) | ||
} catch (e) { | ||
const DescriptionDataMatcherRulePlugin = require('webpack/lib/rules/DescriptionDataMatcherRulePlugin') | ||
objectMatcherRulePlugins.push(new DescriptionDataMatcherRulePlugin()) | ||
} | ||
const ruleSetCompiler = new RuleSetCompiler([ | ||
@@ -24,3 +35,3 @@ new BasicMatcherRulePlugin('test', 'resource'), | ||
new BasicMatcherRulePlugin('compiler'), | ||
new DescriptionDataMatcherRulePlugin(), | ||
...objectMatcherRulePlugins, | ||
new BasicEffectRulePlugin('type'), | ||
@@ -27,0 +38,0 @@ new BasicEffectRulePlugin('sideEffects'), |
{ | ||
"name": "vue-loader", | ||
"version": "15.9.7", | ||
"version": "15.9.8", | ||
"description": "Vue single-file component loader for Webpack", | ||
@@ -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
72153
1124