Skip to content

Commit f56c35d

Browse files
authored
fix: decorator flag is missing when running bundle command (#3476)
2 parents 7bcb4cc + b38a69c commit f56c35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/functions/deploy/bundle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (b *dockerBundler) Bundle(ctx context.Context, slug, entrypoint, importMap
5050
}
5151
hostOutputPath := filepath.Join(hostOutputDir, "output.eszip")
5252
// Create exec command
53-
cmd := []string{"bundle", "--entrypoint", utils.ToDockerPath(entrypoint), "--output", utils.ToDockerPath(hostOutputPath)}
53+
cmd := []string{"bundle", "--entrypoint", utils.ToDockerPath(entrypoint), "--output", utils.ToDockerPath(hostOutputPath), "--decorator", "tc39"}
5454
if len(importMap) > 0 {
5555
cmd = append(cmd, "--import-map", utils.ToDockerPath(importMap))
5656
}

0 commit comments

Comments
 (0)