Skip to content

Commit

Permalink
export types
Browse files Browse the repository at this point in the history
  • Loading branch information
bboure committed Jul 5, 2023
1 parent bb8ae10 commit 965e2f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/general-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ appSync:

## Esbuild

By default, this plugin uses esbuild in order to bundle Javascript resolvers. TypeSCript fiels are also transpiled into compatible JavaScript. This option allows you to pass custom options that must be passed to the esbuild command.
By default, this plugin uses esbuild in order to bundle Javascript resolvers. TypeScript fiels are also transpiled into compatible JavaScript. This option allows you to pass custom options that must be passed to the esbuild command.

⚠️ Use these options carefully. Some options are not compatible with AWS AppSync. For more details about using esbuild with AppSync, see the [official guidelines](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html#additional-utilities)

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0-development",
"description": "AWS AppSync support for the Serverless Framework",
"main": "lib/index.js",
"types": "lib/types/plugin.d.ts",
"repository": "https://github.com/sid88in/serverless-appsync-plugin",
"license": "MIT",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"outDir": "lib",
"noImplicitAny": false
"noImplicitAny": false,
"declaration": true
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "src/__tests__"]
Expand Down

0 comments on commit 965e2f4

Please sign in to comment.