This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Description
Describe the bug
npm run build generates a react/index.d.ts which uses incorrect paths in the current version (1.2.1):
E.g. (occurs multiple times in the file):
export declare const VSCodeBadge: [...] <import("../dist/dist/index.js") ...
To reproduce
- Clone the repository
- run
npm install && npm run build
- check the generated
react/index.d.ts
Expected behavior
dist only appears once on the path, as it was the case before this commit acadb09:
export declare const VSCodeBadge: [...] <import("../dist/index.js") ...
Current behavior
Starting with the linked commit and later, dist appears twice in the path, which is incorrect, as the path ../dist/dist/... does not exist.
Desktop (please complete the following information):
- OS Version:
macOS 13.2.1
- Toolkit Version:
v1.2.1