vue-loader
Advanced tools
Comparing version 16.0.0-beta.9 to 16.0.0-beta.10
@@ -118,4 +118,7 @@ "use strict"; | ||
let hasCSSModules = false; | ||
const nonWhitespaceRE = /\S+/; | ||
if (descriptor.styles.length) { | ||
descriptor.styles.forEach((style, i) => { | ||
descriptor.styles | ||
.filter((style) => style.src || nonWhitespaceRE.test(style.content)) | ||
.forEach((style, i) => { | ||
const src = style.src || resourcePath; | ||
@@ -122,0 +125,0 @@ const attrsQuery = attrsToQuery(style.attrs, 'css'); |
@@ -12,2 +12,3 @@ "use strict"; | ||
const BasicMatcherRulePlugin = require('webpack/lib/rules/BasicMatcherRulePlugin'); | ||
const DescriptionDataMatcherRulePlugin = require('webpack/lib/rules/DescriptionDataMatcherRulePlugin'); | ||
const UseEffectRulePlugin = require('webpack/lib/rules/UseEffectRulePlugin'); | ||
@@ -17,10 +18,14 @@ const RuleSetCompiler = require('webpack/lib/rules/RuleSetCompiler'); | ||
new BasicMatcherRulePlugin('test', 'resource'), | ||
new BasicMatcherRulePlugin('mimetype'), | ||
new BasicMatcherRulePlugin('dependency'), | ||
new BasicMatcherRulePlugin('include', 'resource'), | ||
new BasicMatcherRulePlugin('exclude', 'resource', true), | ||
new BasicMatcherRulePlugin('conditions'), | ||
new BasicMatcherRulePlugin('resource'), | ||
new BasicMatcherRulePlugin('conditions'), | ||
new BasicMatcherRulePlugin('resourceQuery'), | ||
new BasicMatcherRulePlugin('resourceFragment'), | ||
new BasicMatcherRulePlugin('realResource'), | ||
new BasicMatcherRulePlugin('issuer'), | ||
new BasicMatcherRulePlugin('compiler'), | ||
new DescriptionDataMatcherRulePlugin(), | ||
new BasicEffectRulePlugin('type'), | ||
@@ -30,3 +35,3 @@ new BasicEffectRulePlugin('sideEffects'), | ||
new BasicEffectRulePlugin('resolve'), | ||
new UseEffectRulePlugin(), | ||
new UseEffectRulePlugin() | ||
]); | ||
@@ -33,0 +38,0 @@ class VueLoaderPlugin { |
{ | ||
"name": "vue-loader", | ||
"version": "16.0.0-beta.9", | ||
"version": "16.0.0-beta.10", | ||
"license": "MIT", | ||
@@ -15,3 +15,3 @@ "author": "Evan You", | ||
"pretest": "tsc", | ||
"test": "jest", | ||
"test": "jest --coverage", | ||
"dev-example": "webpack-dev-server --config example/webpack.config.js --inline --hot", | ||
@@ -62,2 +62,3 @@ "build-example": "rm -rf example/dist && webpack --config example/webpack.config.js --env.prod", | ||
"null-loader": "^4.0.1", | ||
"postcss-loader": "^4.0.4", | ||
"prettier": "^2.1.1", | ||
@@ -67,5 +68,6 @@ "pug": "^2.0.0", | ||
"source-map": "^0.6.1", | ||
"style-loader": "^1.2.1", | ||
"style-loader": "^2.0.0", | ||
"stylus": "^0.54.7", | ||
"stylus-loader": "^3.0.2", | ||
"stylus-loader": "^4.1.1", | ||
"sugarss": "^3.0.1", | ||
"ts-jest": "^26.2.0", | ||
@@ -72,0 +74,0 @@ "ts-loader": "^8.0.6", |
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
48518
932
42