Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Service Bus] Browser bundling #11160

Merged
merged 1 commit into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)