From 9671399ca8b2300b72580f84e22dd1d103b1c97e Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 15 Mar 2024 10:04:45 +0100 Subject: [PATCH] Bundle build --- packages/string-templates/src/handlebars-helpers.d.ts | 1 + packages/string-templates/src/helpers/external.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/string-templates/src/handlebars-helpers.d.ts diff --git a/packages/string-templates/src/handlebars-helpers.d.ts b/packages/string-templates/src/handlebars-helpers.d.ts new file mode 100644 index 0000000000..90f8b6cb16 --- /dev/null +++ b/packages/string-templates/src/handlebars-helpers.d.ts @@ -0,0 +1 @@ +declare module "@budibase/handlebars-helpers" diff --git a/packages/string-templates/src/helpers/external.ts b/packages/string-templates/src/helpers/external.ts index 73cc377b53..ca0d0a9c6d 100644 --- a/packages/string-templates/src/helpers/external.ts +++ b/packages/string-templates/src/helpers/external.ts @@ -1,4 +1,4 @@ -const helpers = require("@budibase/handlebars-helpers") +import helpers from "@budibase/handlebars-helpers" import { date, duration } from "./date" import { HelperFunctionBuiltin } from "./constants"