diff --git a/apps/www/components/theme-customizer.tsx b/apps/www/components/theme-customizer.tsx index 06cab190e5a..a66a03d756e 100644 --- a/apps/www/components/theme-customizer.tsx +++ b/apps/www/components/theme-customizer.tsx @@ -1,7 +1,7 @@ "use client" import * as React from "react" -import { template } from "lodash" +import template from "lodash/template" import { Check, Copy, Moon, Repeat, Sun } from "lucide-react" import { useTheme } from "next-themes" diff --git a/apps/www/scripts/build-registry.mts b/apps/www/scripts/build-registry.mts index 6ce36751ff4..10105bee4a6 100644 --- a/apps/www/scripts/build-registry.mts +++ b/apps/www/scripts/build-registry.mts @@ -3,7 +3,7 @@ import { existsSync, promises as fs, readFileSync } from "fs" import { tmpdir } from "os" import path from "path" import { cwd } from "process" -import { template } from "lodash" +import template from "lodash/template" import { rimraf } from "rimraf" import { Project, ScriptKind, SyntaxKind } from "ts-morph" import { z } from "zod" diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.ts index c8945bd80ba..efe05169dc0 100644 --- a/packages/cli/src/commands/init.ts +++ b/packages/cli/src/commands/init.ts @@ -24,7 +24,7 @@ import * as templates from "@/src/utils/templates" import chalk from "chalk" import { Command } from "commander" import { execa } from "execa" -import { template } from "lodash" +import template from "lodash/template" import ora from "ora" import prompts from "prompts" import { z } from "zod"