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

Configure output folder where sveld outputs the type definitions #67

Closed
akkumar opened this issue Jan 29, 2022 · 2 comments
Closed

Configure output folder where sveld outputs the type definitions #67

akkumar opened this issue Jan 29, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@akkumar
Copy link
Contributor

akkumar commented Jan 29, 2022

In the documentation / README - it says -

TypeScript definitions are outputted to the types folder by default.

Is there a configuration parameter to configure to a different folder, (say dist / typings ) ?

@metonym metonym added the documentation Improvements or additions to documentation label Jan 29, 2022
@metonym
Copy link
Collaborator

metonym commented Jan 29, 2022

Try using the typesOptions.outDir field:

sveld({
  typesOptions: {
    outDir: 'dist'
  }
})

@akkumar
Copy link
Contributor Author

akkumar commented Jan 30, 2022

Great. I had created pull request #68 to incorporate the change. FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants