chore: changed component type file installation path
7dd720c0
1 file(s) · +1 −1
| 211 | 211 | COMPONENTS_DIR, |
|
| 212 | 212 | "../custom-elements-jsx.d.ts", |
|
| 213 | 213 | ); |
|
| 214 | - | const typesDestPath = "custom-elements-jsx.d.ts"; // Install at project root |
|
| 214 | + | const typesDestPath = join(componentsDir, "custom-elements-jsx.d.ts"); |
|
| 215 | 215 | ||
| 216 | 216 | if (existsSync(typesSourcePath)) { |
|
| 217 | 217 | const typesContent = await readFile(typesSourcePath, "utf8"); |