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.
1 parent 7b22b35 commit ce0876aCopy full SHA for ce0876a
.changeset/dark-experts-scream.md
@@ -0,0 +1,5 @@
1
+---
2
+'@builder.io/qwik': patch
3
4
+
5
+🐛 Fix(#7697): Use correct working directory for Deno environment
packages/qwik/src/optimizer/src/platform.ts
@@ -66,6 +66,10 @@ export async function getSystem() {
66
sys.path = await sys.dynamicImport('node:path');
67
sys.cwd = () => process.cwd();
68
sys.os = process.platform;
69
+ } else if (sysEnv === 'deno') {
70
+ sys.path = await sys.dynamicImport('node:path');
71
+ sys.cwd = (): string => Deno.cwd();
72
+ sys.os = Deno.platform();
73
}
74
75
return sys;
0 commit comments