-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
Unrecognized files should be copied by default #162
Comments
Before I leave a lengthier comment, be aware that we do offer the |
Just so we’re clear up front—defaults changes are very contentious and require careful release management. And changing eleventy to copy everything would be a hell of a default to change. It could potentially leak sensitive files to production sites unintentionally. So, I’m not sure I’m on board with changing the global default here—but I’m happy to discuss it. My preference would be to be more surgical and include file extension types that provide some kind of value. For example:
I’d probably be open to just including the |
There are a couple of patterns I noticed that might help with this
A lot comes down to whether you want to include any kind of asset pipeline outside of transforming templates > html. If there was a styles and image minification solution baked in like your above comment having a folder like |
Related: #117 |
…mplate or not). Will only process templates though. Requested by #162
I did a bit of work just to try this out. It’s currently in the |
|
Fixed by d44bfc7 |
11ty is very nice, thank you!
However it was quite difficult to figure out how to get a normal site with images and CSS working. I don't really understand why configuration is required for this to work, which seems to go against 11ty being a "zero config" static site server.
In virtually every project I use this for, I am going to be required to include an .eleventy.js just so images and css copy over. I suggest making this the default.
The text was updated successfully, but these errors were encountered: