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 5a8e802 commit 0cdbd6dCopy full SHA for 0cdbd6d
āpackages/docs/src/repl/worker/repl-dependencies.ts
@@ -77,6 +77,8 @@ const _loadDependencies = async (replOptions: ReplInputOptions) => {
77
}
78
79
if (!isSameQwikVersion(self.qwikCore?.version)) {
80
+ // Special case: we allow importing qwik again in the same process.
81
+ delete (globalThis as any).__qwik;
82
await exec(QWIK_PKG_NAME, '/core.cjs');
83
if (self.qwikCore) {
84
console.debug(`Loaded ${QWIK_PKG_NAME}: ${self.qwikCore.version}`);
0 commit comments