feat: initial react support

This commit is contained in:
Morten Olsen
2024-12-10 22:40:29 +01:00
parent 7bebe30bf7
commit d833dc5643
42 changed files with 557 additions and 15 deletions

View File

@@ -12,10 +12,7 @@ if (!root) {
const packages = await findWorkspacePackages(root);
const alias = Object.fromEntries(
packages.map(({ dir, manifest }) => [
manifest.name!,
resolve(dir, 'src', 'exports.ts'),
]),
packages.map(({ dir, manifest }) => [manifest.name || '_unknown', resolve(dir, 'src', 'exports.ts')]),
);
export default defineConfig({