Skip to content

Commit 80fa09c

Browse files
gioboawmertens
authored andcommitted
fix: fix up docs 🐠
1 parent ff873bf commit 80fa09c

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
@@ -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}`);

packages/docs/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export default defineConfig(async () => {
137137
'algoliasearch',
138138
'@algolia/autocomplete-core/dist/esm/reshape',
139139
'algoliasearch/dist/algoliasearch-lite.esm.browser',
140+
'@qwik-ui/headless',
140141
],
141142
},
142143

0 commit comments

Comments
 (0)