Skip to content

Demo of using AWS Lambda layers in VS Code with intellisense module resolution

Notifications You must be signed in to change notification settings

pwrdrvr/lambda-layers-js-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Simple demonstration of using a jsconfig.json file in a lambda project that uses zip layers for node_modules, used to answer a StackOverflow Question.

This allows naked imports in the lambda/index.js to find the modules that are only installed in the layer/package.json project.

Example

For example, in index.js, without the jsconfig.json file the following import will have no type information, but with the jsconfig.json file it will have type information:

import axios from 'axios';

Screenshot

About

Demo of using AWS Lambda layers in VS Code with intellisense module resolution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published