Skip to content

A custom, focused build of lodash exclusively for use internally in Eleventy.

Notifications You must be signed in to change notification settings

11ty/lodash-custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@11ty/lodash-custom

Eleventy uses 3 small lodash functions:

Why?

  1. The top level lodash package includes all of lodash and is a hefty 5 MB.
  2. Using the individual, modularized lodash.get, lodash.set, lodash.chunk packages are a much smaller 106 KB but do contain duplicated code. More problematically, these are not being maintained/updated with the newest versions of lodash.

This package creates one focused custom dependency using the tools that lodash provides to do custom builds (lodash-cli) for these three lodash functions with updated versions of lodash.

About

A custom, focused build of lodash exclusively for use internally in Eleventy.

Resources

Stars

Watchers

Forks

Packages

No packages published