package
Serverless plugin that compiles TypeScript code and bundles dependencies with node-file-trace
npm install serverless-plugin-neoGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 50 packages.
8.6 MB
Includes dependencies.
7 direct · 6 outdated
4.1.2
6.0.1
^11.1.0
16.2.4
^5.0.0
8.0.0
^10.1.0
11.4.1
0.18.2
1.11.2
^5.6.0
7.2.0
^2.2.2
2.2.3
Serverless plugin that compiles TypeScript code and bundles dependencies with node-file-trace
This plugin was originally based on serverless-plugin-typescript and offers the following benefits:
:warning: This plugin is still in the early stages of development and some things might not work
Install the plugin
npm install serverless-plugin-neoAdd plugin to Serverless Config file
plugins:
- serverless-plugin-neo
...
- serverless-offlineIf you're using the serverless-offline plugin make sure it goes after serverless-plugin-neo
Configure plugin (optional)
custom:
serverless-plugin-neo:
baseDirectory: '.'
tsconfig: 'tsconfig.json'There are no required settings. You can see a list of all settings and their defaults below.
Build your code
serverless| Name | Type | Default | Description |
|---|---|---|---|
| baseDirectory | string | process.cwd() | Your project's root directory. Defaults to process.cwd in a single repo project. Attempts to find the root package.json in a monorepo project. |
| excludePackages | string[] | **/aws-sdk/**/* | A list of packages to exclude from bundling. See the node-file-trace docs for details. |
| skipCleanup | boolean | false | Clean up .build directory after packaging. Disabling this can be useful for troubleshooting build issues. |
| tsconfig |
If you'd like to contribute to this project we recommend that you first open an issue to discuss your proposed change.
npm installnpm startnpm run buildTo clean the build directory run npm run clean
npm run testpackage.jsonCHANGELOG.mdnpm pack --dry-run to see what will be publishednpm publish1.0.0 the tag and release name would be v1.0.0.| string |
tsconfig.json |
| tsconfig filename |