We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
antfu
Learn more about funding links in repositories.
Report abuse
config.root
1 parent a2e9095 commit 35d46e2Copy full SHA for 35d46e2
src/core/ctx.ts
@@ -34,6 +34,8 @@ async function scanDirExports(dirs: string[], root: string) {
34
}
35
36
export function createContext(options: Options = {}, root = process.cwd()) {
37
+ root = slash(root)
38
+
39
const {
40
dts: preferDTS = isPackageExists('typescript'),
41
} = options
0 commit comments