You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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 inroot/base/images
.Instead of a “two tier” folder structure where
root
andbase
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 tosrc/assets
for example, or for those who want to put the assets directly intosrc
, it can just besrc
.For the output there can be a separate
userOptions.assets.output
that gets concatenated with Eleventy’sdir.output
. This would keep input and output folder structure independent from each other (like in fstack withrootFolder
anddistFolder
).The text was updated successfully, but these errors were encountered: