-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The images aren’t necessarily located in the base path in the source folder. For example they could also be directly in src/images if the source folder has a more “flat” folder structure. The above code forces you to put images in root/base/images.
Instead of a “two tier” folder structure where root and base are basically two ways to specify the asset’s root folder, we can use something similar to the fstack configuration.
Just one userOptions.assets.root option that can point to src/assets for example, or for those who want to put the assets directly into src, it can just be src.
For the output there can be a separate userOptions.assets.output that gets concatenated with Eleventy’s dir.output. This would keep input and output folder structure independent from each other (like in fstack with rootFolder and distFolder).