@@ -260,7 +260,7 @@ Examples in this article assume your app is using `IHostApplicationBuilder`, whi
260
260
261
261
::: zone-end
262
262
::: zone pivot="programming-language-javascript"
263
- 1 . Create a code file in your project, copy and paste the following code in this new file, and save the file as `src/index.js`:
263
+ 2 . Create a code file in your project, copy and paste the following code in this new file, and save the file as `src/index.js`:
264
264
265
265
### [Application Insights](#tab/app-insights)
266
266
@@ -272,14 +272,14 @@ Examples in this article assume your app is using `IHostApplicationBuilder`, whi
272
272
273
273
---
274
274
275
- 2 . Update the `main` field in your package.json file to include this new `src/index.js` file, which might look like this:
275
+ 3 . Update the `main` field in your package.json file to include this new `src/index.js` file, which might look like this:
276
276
277
277
```json
278
278
"main": "src/{index.js,functions/*.js}"
279
279
```
280
280
::: zone-end
281
281
::: zone pivot="programming-language-typescript"
282
- 1 . Create a code file in your project, copy and paste the following code in this new file, and save the file as `src/index.ts`:
282
+ 2 . Create a code file in your project, copy and paste the following code in this new file, and save the file as `src/index.ts`:
283
283
284
284
### [Application Insights](#tab/app-insights)
285
285
@@ -291,7 +291,7 @@ Examples in this article assume your app is using `IHostApplicationBuilder`, whi
291
291
292
292
---
293
293
294
- 2 . Update the `main` field in your package.json file to include the output of this new `src/index.ts` file, which might look like this:
294
+ 3 . Update the `main` field in your package.json file to include the output of this new `src/index.ts` file, which might look like this:
295
295
296
296
```json
297
297
"main": "dist/src/{index.js,functions/*.js}"
0 commit comments