We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cwd
1 parent 2a1a606 commit 8515f48Copy full SHA for 8515f48
src/index.ts
@@ -21,7 +21,7 @@ export interface ImpoundOptions {
21
const RELATIVE_IMPORT_RE = /^\.\.?\//
22
23
export const ImpoundPlugin = createUnplugin((options: ImpoundOptions) => {
24
- const filter = createFilter(options.include, options.exclude)
+ const filter = createFilter(options.include, options.exclude, { resolve: options.cwd })
25
const proxy = resolvePath('unenv/runtime/mock/proxy', { url: import.meta.url })
26
27
return {
0 commit comments