@web/dev-server-core
Advanced tools
Comparing version 0.3.0 to 0.3.1
# @web/dev-server-core | ||
## 0.3.1 | ||
### Patch Changes | ||
- eceb6295: match dotfiles when resolving mimetypes | ||
## 0.3.0 | ||
@@ -4,0 +10,0 @@ |
@@ -12,3 +12,3 @@ "use strict"; | ||
const resolvedPattern = !path_1.isAbsolute(pattern) && !pattern.startsWith('*') ? path_1.posix.join(rootDir, pattern) : pattern; | ||
return picomatch_1.default(resolvedPattern); | ||
return picomatch_1.default(resolvedPattern, { dot: true }); | ||
} | ||
@@ -15,0 +15,0 @@ function mimeTypesPlugin(mappings) { |
{ | ||
"name": "@web/dev-server-core", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -11,3 +11,3 @@ import picoMatch from 'picomatch'; | ||
!isAbsolute(pattern) && !pattern.startsWith('*') ? posix.join(rootDir, pattern) : pattern; | ||
return picoMatch(resolvedPattern); | ||
return picoMatch(resolvedPattern, { dot: true }); | ||
} | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
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
280074