Skip to content

Commit

Permalink
docs(aws-serverless): Add comment about dist path import (#12383)
Browse files Browse the repository at this point in the history
Adding a comment in `package.json` with `"//"` is safe, as npm reserved
this for comments ([see
here](https://groups.google.com/g/nodejs/c/NmL7jdeuw0M/m/yTqI05DRQrIJ)).

---------

Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
  • Loading branch information
s1gr1d and mydea authored Jun 6, 2024
1 parent 0a6c1e5 commit e84230e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
}
},
"./dist/awslambda-auto": {
"//": "@deprecated Use `./awslambda-auto` instead",
"require": {
"default": "./build/npm/cjs/awslambda-auto.js"
}
Expand Down

0 comments on commit e84230e

Please sign in to comment.