Skip to content

Commit bef4788

Browse files
fix: simply set resolvedDirs in case of globs option, close unplugin#246 (unplugin#247)
1 parent 1f8da38 commit bef4788

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/options.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export function resolveOptions(options: Options, root: string): ResolvedOptions
3434

3535
if (resolved.globs) {
3636
resolved.globs = toArray(resolved.globs).map((glob: string) => slash(resolve(root, glob)))
37+
resolved.resolvedDirs = []
3738
}
3839
else {
3940
const extsGlob = resolved.extensions.length === 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy