I want to copy readme.md file to /dist
so entire folder can be submitted to npm
Repo where this can be reproduced:
https://github.com/saleor/saleor-app-sdk/blob/main/tsup.config.ts
README.md
to entries
loader: { '.md': 'file' }
to configfile will be copied to dist
Error
DTS Build start
error TS6054: File '/Users/lukasz/projects/saleor-app-sdk/README.md' has an unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts', '.cts', '.d.cts', '.mts', '.d.mts'.
The file is in the program because:
Root file specified for compilation
Adding *.md
to tsconfig excludes
doesn't change anything
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too