Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 753 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 753 Bytes

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