gatsby-plugin-lodash

Easy modular Lodash builds. Adds the Lodash webpack & Babel plugins to your Gatsby build

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gatsby-plugin-lodash
54,2861326.8.08 days ago6 years agoMinified + gzip package size for gatsby-plugin-lodash in KB

Readme

gatsby-plugin-lodash
Adds the Lodash webpack & Babel plugins for easy modular, small Lodash builds.

Install

npm install gatsby-plugin-lodash lodash

How to use

Add the plugin to your gatsby-config.js.
plugins: [`gatsby-plugin-lodash`]

By default this plugin enables all feature sets. If you know you don't need some of them, you can remove support for features sets by setting a disabledFeatures option like the following:
plugins: [
  {
    resolve: `gatsby-plugin-lodash`,
    options: {
      disabledFeatures: [`shorthands`, `cloning`],
    },
  },
]