Skip to content

Commit a487cbf

Browse files
committed
add TODO re: auto file in npm rollup config
1 parent 876a3e2 commit a487cbf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/serverless/rollup.npm.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { makeBaseNPMConfig, makeNPMConfigVariants } from '../../rollup/index.js'
22

33
export default makeNPMConfigVariants(
44
makeBaseNPMConfig({
5+
// TODO: `awslambda-auto.ts` is a file which the lambda layer uses to automatically init the SDK. Does it need to be
6+
// in the npm package? Is it possible that some people are using it themselves in the same way the layer uses it (in
7+
// which case removing it would be a breaking change)? Should it stay here or not?
58
entrypoints: ['src/index.ts', 'src/awslambda-auto.ts'],
69
// packages with bundles have a different build directory structure
710
hasBundles: true,

0 commit comments

Comments
 (0)