-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Feature?]: Configure output directory #1063
Comments
I'm happy to work on this if it's deemed useful. I got it working via |
hmmm, I have something similar. I am trying to set up a gitlab CI/CD process and the public folder is the default for gitlab on where it hosts the gitlab page (github Pages) I couldn't find where it was defined how that folder works, because I was going to try and rename it so that they don't conflict. Totally agree it would be nice to expose these settings so we can define where the output goes and where the input comes from... |
In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience. See #1139 for more details. |
Duplicates
Latest version
Summary 💡
Solid Start currently creates writes its output directly to the project directory —
.solid
for common intermediate outputs, then one or more final outputs depending on the adapter. For example, the CloudFlare Pages adapter usesdist/public
andfunctions
. I'd like to be able to put all the output in a different location.Vite has
build.outDir
in its config, but that already has the default value"dist"
so it would clash with the existing use ofdist
in solid-start adapters.I suggest a new optional config on solid-start itself.
outDir
probably isn't the best name as it would get confused with Vite'sbuild.outDir
. Maybe something likesolidOutDir
?Examples 🌈
vite.config.js
for the CloudFlare example would look like this:The directory structure would then be:
Motivation 🔦
[".solid/**", "dist/**", "functions/**"]
etc inturbo.json
)The text was updated successfully, but these errors were encountered: