From 17339b7b509e7a0e9c066540fc8ab32d9839977b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 16 Jan 2024 16:31:19 +0100 Subject: [PATCH] Exclude handlebars from the esbuild bundle --- packages/string-templates/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 953aecc379..9ba97441bc 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -20,7 +20,7 @@ "manifest.json" ], "scripts": { - "build:esbuild": "esbuild --minify --bundle src/index-helpers.js --outfile=dist/index-helpers.bundled.js --platform=node --format=esm", + "build:esbuild": "esbuild --minify --bundle src/index-helpers.js --outfile=dist/index-helpers.bundled.js --platform=node --format=esm --external:handlebars", "build": "yarn build:esbuild && tsc && rollup -c", "dev": "concurrently \"yarn build:esbuild --watch\" \"tsc && rollup -cw\"", "test": "jest",