Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes types getting generated inside dist/src instead of dist [246](h… #247

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

xaamin
Copy link
Contributor

@xaamin xaamin commented Nov 1, 2022

Fixes 246 types getting generated inside dist/src instead of dist. The root issue is the new test-setup.ts file outside of src, referencing it causes ts generate a subfolder src in the dist path while running npm run dist command.

Moving the file to src fixes ts build and allows generate the types in index.d.ts bundled file, the sames as previous versions.

@netlify
Copy link

netlify bot commented Nov 1, 2022

Deploy Preview for react-daisyui ready!

Name Link
🔨 Latest commit a26517b
🔍 Latest deploy log https://app.netlify.com/sites/react-daisyui/deploys/636169e183924a0008a0c2ec
😎 Deploy Preview https://deploy-preview-247--react-daisyui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 1, 2022

👷 Deploy Preview for react-daisyui processing.

Name Link
🔨 Latest commit a26517b
🔍 Latest deploy log https://app.netlify.com/sites/react-daisyui/deploys/636169e183924a0008a0c2ec

1 similar comment
@netlify
Copy link

netlify bot commented Nov 1, 2022

👷 Deploy Preview for react-daisyui processing.

Name Link
🔨 Latest commit a26517b
🔍 Latest deploy log https://app.netlify.com/sites/react-daisyui/deploys/636169e183924a0008a0c2ec

Copy link
Collaborator

@benjitrosch benjitrosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @xaamin !

@benjitrosch benjitrosch merged commit 403a805 into daisyui:main Nov 1, 2022
This was referenced Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript declaration files gets built in incorrect directory
3 participants