-
Notifications
You must be signed in to change notification settings - Fork 243
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 Request: Allow to define an input folder #105
Comments
Although not documented (I think), this should already work. Doing Here is how I organize zeroserver.io: And run it with |
I searched in the docs before open this issue but did not find this information 😓. |
@iagobruno Did it work fine for your project? |
Yes, much better than the other solution I used in another project. |
Current Behavior
Zero pick up files and folders in the project root folder, this is ok for small projects but can get messy for sites with many pages. Look at this:
Proposal
Allow to define an input folder where Zero will get the files, for example:
And so the spread files can be organized into a "src" folder like that:
This also solves the confusion in .zeroignore to route only the desired files.
Backward compatibility
This new behavior can be easily integrated without breaking old projects. If no entry point is specified, it will fallback to root folder as usual.
The text was updated successfully, but these errors were encountered: