---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / CreateBundleOptions

# Interface: CreateBundleOptions

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:50](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L50)

Configuration for bundle creation.

## Extended by

- [`PushOptions`](PushOptions.md)

## Properties

### buildDirectory?

> `optional` **buildDirectory**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:81](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L81)

Path to the build directory containing the application build output.

#### Default

```ts
'build'
```

***

### message?

> `optional` **message**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:55](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L55)

Optional message describing the bundle.
Defaults to a git-based message or a timestamp.

***

### projectSlug

> **projectSlug**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:87](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L87)

Project slug for the MRT project.
Used to prefix files in the archive.

***

### ssrOnly?

> `optional` **ssrOnly**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:68](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L68)

Glob patterns for files that should only run on the server.
If omitted, loaded from build/config.server.js if present.

#### Example

```ts
['ssr.js', 'ssr/*.js']
```

***

### ssrParameters?

> `optional` **ssrParameters**: `Record`\<`string`, `unknown`\>

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:61](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L61)

SSR parameters to include in the bundle.
These are configuration values for the SSR runtime.

***

### ssrShared?

> `optional` **ssrShared**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:75](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L75)

Glob patterns for files shared between client and server.
If omitted, loaded from build/config.server.js if present.

#### Example

```ts
['static/**/*', '**/*.js']
```
