From 7e5009939df2c9e373bc26c850e7534b1bf2e299 Mon Sep 17 00:00:00 2001 From: Sibbngheid Date: Thu, 27 Aug 2020 23:10:18 +0300 Subject: [PATCH] fix: windows build --- src/context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.ts b/src/context.ts index 5ec98999..d1cfd898 100644 --- a/src/context.ts +++ b/src/context.ts @@ -99,7 +99,7 @@ export class Context { } relative(path: string) { - return relative(this.root, path) + return relative(this.root, path).replace(/\\/g, '/') } setImports(key: string, names: string[]) {