Replies: 4 comments
-
Related to: #254 @samchungy , would you maybe have some time to take a look please? |
Beta Was this translation helpful? Give feedback.
-
Hi @doteric it's not explicitly supported currently, but have you maybe tried |
Beta Was this translation helpful? Give feedback.
-
Don't think it's possible with the way we've set it up. We've only designed it to pass a single entry point to the bundler. You might be better off setting up esbuild outside and then using package patterns to bring what you want in |
Beta Was this translation helpful? Give feedback.
-
Thanks @floydspace and @samchungy |
Beta Was this translation helpful? Give feedback.
-
serverless-esbuild
seems to be the thing that I want, but it's missing one key feature for me. I want to retain the file structure and not bundle everything into a single file.So for example I have this structure:
I want the output to look as following:
Is this currently achievable with serverless-esbuild? I tried to look through things for something like this inside, but I couldn't seem to find what I want. Would appreciate some advice, thanks.
Beta Was this translation helpful? Give feedback.
All reactions