Exclude handlebars from the esbuild bundle
This commit is contained in:
parent
8b30b89fe1
commit
17339b7b50
|
@ -20,7 +20,7 @@
|
||||||
"manifest.json"
|
"manifest.json"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"build": "yarn build:esbuild && tsc && rollup -c",
|
||||||
"dev": "concurrently \"yarn build:esbuild --watch\" \"tsc && rollup -cw\"",
|
"dev": "concurrently \"yarn build:esbuild --watch\" \"tsc && rollup -cw\"",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
|
Loading…
Reference in New Issue