Start of Eleventy v4: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish workflow#3858
Merged
Conversation
… use the browser version of Nunjucks)
…nyglobby in file system code.
… only (get*Collection filters, url filter)
slug filter, Adds @11ty/client package and publish
slug filter, Adds @11ty/client package and publishslug filter, Adds @11ty/client package and publish workflow
slug filter, Adds @11ty/client package and publish workflowslug filter, Adds @11ty/client package and publish workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
evalusage (and more) #3892 Swaps to use@11ty/gray-matterfork ofgray-matterfor reasons explained https://github.com/11ty/gray-matter#11tygray-matterslugFilter (deprecated since v1.0.0), Removeslugfilter (deprecated in v1) #3893--to=fs:templatesCLI option (and to write to file system but skips over passthrough copy. Also addsEleventy#write("templates")andEleventy#write("copy")@11ty/clientfor client use:import { Eleventy } from "@11ty/client"(reduced core)import { Eleventy } from "@11ty/client/eleventy"import { Liquid } from "@11ty/client/liquid"import { Nunjucks } from "@11ty/client/njk"import { Markdown } from "@11ty/client/md"eleventyConfig.addEnginemethod to directly expose TemplateEngine additionsimport-module-stringin some cases overnode-retrieve-modulesMore info: https://www.zachleat.com/web/dynamic-import/.core.jsand.core.min.jsadapters for removal of some optional features for reduced client bundle size.release.shscript to automate release of core and client packages together.TODO: Still learning towards removing the client bundles from this package and moving to a separate package (to keep package size small)Client Bundle Features
@11ty/client/eleventy@11ty/client@11ty/client/liquid@11ty/client/liquid@11ty/client/njk@11ty/client/njk@11ty/client/md@11ty/client/mddata:requiresexport)jsJavaScript object Front MatterslugifyFilterurlFilterget*CollectionItemfiltersinputPathToUrlFilter@11ty/client/i18n@11ty/client/i18nLuxon date parsing fromISOtoDateUTCremoved in #3587