From 431702889c53573cd44496d2474d012135d9d74d Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Mon, 11 May 2020 00:58:32 +0200 Subject: [PATCH] fix(www): allow to tree shake lodash-es --- www/src/components/tags-section.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/src/components/tags-section.js b/www/src/components/tags-section.js index 803ebfb97b43e..9aa1a6463987f 100644 --- a/www/src/components/tags-section.js +++ b/www/src/components/tags-section.js @@ -2,7 +2,7 @@ import { jsx } from "theme-ui" import Link from "./localized-link" import { TiTags as TagsIcon } from "react-icons/ti" -const { kebabCase } = require(`lodash-es`) +import { kebabCase } from "lodash-es" import Button from "./button"