From aabc094670c5a572f15ece664692dec6cd6b976c Mon Sep 17 00:00:00 2001 From: Rebecca Bol Date: Wed, 10 Apr 2024 15:24:46 -0700 Subject: [PATCH] Website | Stackblitz | Fix: Adding web-worker to dependencies closes: https://github.com/unovis/issues-only/issues/16 --- packages/website/src/utils/stackblitz.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/website/src/utils/stackblitz.ts b/packages/website/src/utils/stackblitz.ts index 366d01cc2..88e4aa079 100644 --- a/packages/website/src/utils/stackblitz.ts +++ b/packages/website/src/utils/stackblitz.ts @@ -194,11 +194,12 @@ function getStarterFiles (framework: Framework, e: Example): ProjectFiles { export function launchStackBlitz (framework: Framework, example: Example): void { const project: Project = { - title: 'Unovis Demo', + title: `Unovis Demo (${framework})`, description: example.title, template: templates[framework], files: getStarterFiles(framework, example), dependencies: { + 'web-worker': '^1.3.0', '@unovis/ts': ver, }, }