@webdiscus/pug-loader
Advanced tools
Comparing version 2.8.1 to 2.8.2
# Change log | ||
## 2.8.2 (2022-09-21) | ||
- chore: optimize script store for pug-plugin | ||
## 2.8.1 (2022-08-12) | ||
@@ -4,0 +7,0 @@ - feat: add supports for a string value by the `watchFiles` option |
{ | ||
"name": "@webdiscus/pug-loader", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "Pug loader renders Pug files into HTML or compiles them into a template function.", | ||
@@ -71,3 +71,3 @@ "keywords": [ | ||
"@babel/preset-env": "^7.18.10", | ||
"@types/jest": "^28.1.6", | ||
"@types/jest": "^28.1.7", | ||
"css-loader": "^6.7.1", | ||
@@ -80,3 +80,3 @@ "html-loader": "^4.1.0", | ||
"pug-plugin": "~4.1.1", | ||
"responsive-loader": "^3.0.4", | ||
"responsive-loader": "^3.1.0", | ||
"sharp": "^0.30.7", | ||
@@ -83,0 +83,0 @@ "tsconfig-paths-webpack-plugin": "^4.0.0", |
@@ -15,4 +15,8 @@ /** | ||
/** | ||
* @param {string} file | ||
* @return {boolean} | ||
*/ | ||
has(file) { | ||
return this.files.find((item) => item.file === file); | ||
return this.files.find((item) => item.file === file) != null; | ||
} | ||
@@ -19,0 +23,0 @@ |
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
127331
2233