Exclude handlebars from the esbuild bundle

This commit is contained in:
Adria Navarro 2024-01-16 16:31:19 +01:00
parent 8b30b89fe1
commit 17339b7b50
1 changed files with 1 additions and 1 deletions

View File

@ -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",