Skip to content

Commit 0cdbd6d

Browse files
gioboawmertens
authored andcommitted
fix: fix up docs 🐠
1 parent 5a8e802 commit 0cdbd6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ā€Žpackages/docs/src/repl/worker/repl-dependencies.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ const _loadDependencies = async (replOptions: ReplInputOptions) => {
7777
}
7878

7979
if (!isSameQwikVersion(self.qwikCore?.version)) {
80+
// Special case: we allow importing qwik again in the same process.
81+
delete (globalThis as any).__qwik;
8082
await exec(QWIK_PKG_NAME, '/core.cjs');
8183
if (self.qwikCore) {
8284
console.debug(`Loaded ${QWIK_PKG_NAME}: ${self.qwikCore.version}`);

0 commit comments

Comments
Ā (0)