Skip to content

Commit

Permalink
[Service Bus] Browser bundling (Azure#11160)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshaNalluru authored Sep 9, 2020
1 parent 6828e87 commit 2670279
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/servicebus/service-bus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ npm install @types/node

You also need to enable `compilerOptions.allowSyntheticDefaultImports` in your tsconfig.json. Note that if you have enabled `compilerOptions.esModuleInterop`, `allowSyntheticDefaultImports` is enabled by default. See [TypeScript's compiler options handbook](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.

### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

### Authenticate the client

Interaction with Service Bus starts with an instance of the [ServiceBusClient][sbclient] class.
Expand Down
4 changes: 4 additions & 0 deletions sdk/servicebus/service-bus/samples-v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ Before running any of the samples, update it with the connection string and the

See the instructions in [`samples-v1/javascript/README.md`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples-v1/javascript/) or [`samples-v1/typescript/README.md`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples-v1/typescript/) for instructions on running the JavaScript samples or the TypeScript samples respectively.

### Browser Samples

Running these samples in the browser requires a bundler. To use this client library in the browser, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fservicebus%2Fservice-bus%2Fsamples%2FREADME.png)
4 changes: 4 additions & 0 deletions sdk/servicebus/service-bus/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ Before running any of the samples, update it with the connection string and the

See the instructions in [`samples/javascript/README.md`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples/javascript/) or [`samples/typescript/README.md`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples/typescript/) for instructions on running the JavaScript samples or the TypeScript samples respectively.

### Browser Samples

Running these samples in the browser requires a bundler. To use this client library in the browser, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fservicebus%2Fservice-bus%2Fsamples%2FREADME.png)

0 comments on commit 2670279

Please sign in to comment.