Skip to content

Commit

Permalink
teraslice-cli - fix old asset build (#3670)
Browse files Browse the repository at this point in the history
Removing the `format: esm` argument to esbuild lets old assets build
correctly.
  • Loading branch information
godber authored Jun 26, 2024
1 parent 04497a7 commit 34fe6a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/teraslice-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "teraslice-cli",
"displayName": "Teraslice CLI",
"version": "2.0.2",
"version": "2.0.3",
"description": "Command line manager for teraslice jobs, assets, and cluster references.",
"keywords": [
"teraslice"
Expand Down
1 change: 0 additions & 1 deletion packages/teraslice-cli/src/helpers/asset-src.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ export class AssetSrc {

const result = await build({
bundle: true,
format: 'esm',
entryPoints: [entryPoint],
outdir: bundleDir.name,
platform: 'node',
Expand Down

0 comments on commit 34fe6a8

Please sign in to comment.