Skip to content

Commit c4e714e

Browse files
authored
docs(lambda-nodejs): fixed documentation formatting error for loader type (#24204)
The documentation for `loader` was wrongly formatted: ![Screenshot 2023-02-16 at 17 37 44](https://user-images.githubusercontent.com/15077781/219430308-9ca60c7f-8bf1-4ea4-bc3d-ee11e76e5238.jpg) This change should fix it.
1 parent 0c7c7e4 commit c4e714e

File tree

1 file changed

+2
-2
lines changed
  • packages/@aws-cdk/aws-lambda-nodejs/lib

1 file changed

+2
-2
lines changed

packages/@aws-cdk/aws-lambda-nodejs/lib/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export interface BundlingOptions extends DockerRunOptions {
5050
* Configuring a loader for a given file type lets you load that file type with
5151
* an `import` statement or a `require` call.
5252
*
53-
* @see https://esbuild.github.io/api/#loader
54-
*
5553
* For example, `{ '.png': 'dataurl' }`.
5654
*
55+
* @see https://esbuild.github.io/api/#loader
56+
*
5757
* @default - use esbuild default loaders
5858
*/
5959
readonly loader?: { [ext: string]: string };

0 commit comments

Comments
 (0)