Skip to content

Commit 19b302c

Browse files
gioboawmertens
authored andcommitted
fix: fix up docs 🐠
1 parent 26f4aec commit 19b302c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-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
@@ -70,6 +70,8 @@ const _loadDependencies = async (replOptions: ReplInputOptions) => {
7070
}
7171

7272
if (!isSameQwikVersion(self.qwikCore?.version)) {
73+
// Special case: we allow importing qwik again in the same process.
74+
delete (globalThis as any).__qwik;
7375
await exec(QWIK_PKG_NAME, '/core.cjs');
7476
if (self.qwikCore) {
7577
console.debug(`Loaded @builder.io/qwik: ${self.qwikCore.version}`);

packages/docs/vite.config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export default defineConfig(async () => {
134134
'algoliasearch',
135135
'@algolia/autocomplete-core/dist/esm/reshape',
136136
'algoliasearch/dist/algoliasearch-lite.esm.browser',
137+
'@qwik-ui/headless',
137138
],
138139
},
139140

0 commit comments

Comments
 (0)