`patterns` not working as expected for me - files missing from `.zip`
See original GitHub issueHi.
Using version 1.23.1
.
I’m trying to get some files included in my deployment bundle - I have these files in migrations-core
alongside my serverless function handlers.
On these functions only, I have this:
package: {
patterns: ['**/migrations-core/*'],
},
When the code is being bundled, I can see these __only
folders with the files and it refers to the the 2 expected functions.
However, these files are never included in the .zip
file.
Am I missing something here - how can I get these files included? This is my config.
esbuild: {
bundle: true,
minify: true,
treeShaking: true,
sourcemap: false,
nativeZip: true,
concurrency: 20,
external: ['mongoose', 'winston', 'migrate-mongo', 'pdfkit', 'pdf-lib'],
format: 'cjs',
},
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
r function unzip error 1 in extracting from zip file - Stack Overflow
I finally used getwd() to get the working directory and then placed the zip file in that directory. I then was able to...
Read more >5 Methods to Fix Zip File Is Valid Problem
5 Methods to Fix Zip File Is Valid Problem · Part 1: What causes zip file invalid errors? · Part 2: Reinstallation of...
Read more >macOS ZIP files made with the built-in Archive Utility aren't ...
For some reason, the macOS Finder's ZIP program is creating ZIP archives that are apparently missing certain validation information (like checksums), or where ......
Read more >While uploading the ZIP file to manage apps error
I tried to generating app package multiple times and upload freshly most of the time it worked, however few times it is giving...
Read more >Thing files not included in the "Download All" zip file
Every week I get a message about "missing legs", "please upload the legs", "where are the hips??", etc. The page shows 11 files,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🎉 This issue has been resolved in version 1.23.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
Think I’ve figured it out in the above PR @chearmstrong ^