-
Notifications
You must be signed in to change notification settings - Fork 507
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
Change output folder name from "dist" to "build" ? #351
Comments
i havent tried this out yet but have you tried setting it in tsconfig.json? what happens when you do that |
It seems like the only way possible to do it at the moment is through module.exports = {
rollup(config, options) {
config.output.file = config.output.file.replace('dist', 'build');
return config;
},
}; Regarding how opinionated |
yeah. my inclination is to leave this sort of thing inside rollup config. and document it :) |
Would be nice to have some official position about these open requests - not from you specifically, I see that you're more like a community moderator - so that we can create documentation about it (I'd gladly help) but so far we have pending questions only. 😕 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm considering allowing this to be configurable via |
This doesn't work anymore, as |
Good point. It may not have ever worked, that's existed for as long as I know. A post-build script of |
I'm a little confused how the |
Current Behavior
I can not find any way to override tsdx output to use any other folder than "dist"
Desired Behavior
Would like to be able to specify another output folder such as "build" instead of "dist"
Suggested Solution
--distFolder option.
Who does this impact? Who is this for?
Users that don't want the generated output in their dist folder.
Describe alternatives you've considered
Manually rename/move generated files.
The text was updated successfully, but these errors were encountered: