(options: WorkbenchOptions)
| 213 | ].join("\n") |
| 214 | |
| 215 | const workbenchClient = (options: WorkbenchOptions): string => |
| 216 | [ |
| 217 | ...[options.setup ?? []].flat().map((setup) => `import ${JSON.stringify(setup)};`), |
| 218 | "import { DevTools } from \"@effect/ui-devtools\";", |
| 219 | `DevTools.workbench(import.meta.glob(${JSON.stringify(options.cases)}));`, |
| 220 | "" |
| 221 | ].join("\n") |
| 222 | |
| 223 | const hotClient = [ |
| 224 | "if (import.meta.hot) {", |