From dfac176dd347cc2e7358e503886024a86518fa3b Mon Sep 17 00:00:00 2001 From: Jake Ferrero Date: Thu, 2 May 2024 10:20:50 -0400 Subject: [PATCH] NO-TICKET Import lodash/camelCase According to documentation, you are supposed to import lodash packages using 'lodash/X'. Just importing 'lodash' will cause the entire package to be bundled. Removing the entire package and just using the functions we need should hopefully reduce this project's size so we can deploy with o11y again. --- src/utils/builders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/builders.ts b/src/utils/builders.ts index 84422fa..90d14fb 100644 --- a/src/utils/builders.ts +++ b/src/utils/builders.ts @@ -1,4 +1,4 @@ -import { camelCase } from 'lodash'; +import camelCase from 'lodash/camelCase'; import { JiraProjectKey } from '../jira';