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

Is there a way to specify output directory? #662

Closed
jay4q opened this issue Jun 26, 2022 · 2 comments
Closed

Is there a way to specify output directory? #662

jay4q opened this issue Jun 26, 2022 · 2 comments

Comments

@jay4q
Copy link

jay4q commented Jun 26, 2022

I'm trying to set tsconfig.json outDir: "../app/functions",but not working,tsup still put compiled files into ./dist directory

@jrson83
Copy link

jrson83 commented Jun 26, 2022

Yeah you can specify outDir option in tsup.config.ts defineConfig function.

@jay4q
Copy link
Author

jay4q commented Jun 27, 2022

Yeah you can specify outDir option in tsup.config.ts defineConfig function.

thank u,it works~

the configuration is here, and notice there is a confict 🤔️ between tsconfig's compilerOptions.paths and tsup.config's outDir

hope it will help someone have same issue

@jay4q jay4q closed this as completed Jun 27, 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

No branches or pull requests

2 participants