-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v5.0.0 is in beta #229
Comments
@thomaschaaf we need to update the README. Is the esbuild option the only thing we need to add to it? |
Hi both, I'm receiving this error after upgrading to
Setting |
@joewestcott Is this while bundling TS files? |
Yes, removing the |
@joewestcott It looks like a fix that we had in https://github.com/AnomalyInnovations/serverless-bundle/releases/tag/v4.2.3 has not been merged here. That should resolve this. @thomaschaaf I ran into a strange issue that I'm hoping you can take a look at. I was trying to merge some changes but when I regenerate the package lockfile for this branch, the Lambda functions aren't being transpiled anymore. I created a branch to test this and here's a PR to compare the changes #230. Here are the steps to reproduce.
Let me know if you are able to reproduce the issue. |
Just digging into this a bit more, I wonder if it has to do with the version of Serverless Framework. I'm using |
Yeah I had to stay at serverless v2.29.0 else the tests failed. 2432f14 I have not had time to analyze why it fails afterwards. |
Yeah I found this as well. It seems like the recent versions of Serverless Framework are completely breaking this? Does anybody want to take a look at whats going on? |
I found it: Rename servicePath vars to serviceDir (#9307) (e8c8f1c) (Mariusz Nowak) I will make a new pr. |
Appreciate it! |
Is it this https://github.com/AnomalyInnovations/serverless-bundle/blob/master/index.js#L79? If you are making the change, can you do it in master instead? |
2.37.1 brings back the old behavior. So there is actually nothing to be done except not using 2.36.0 or 2.37.0. See my PR. |
Thanks for looking into it. Serverless Framework versions aren't very reliable. |
@joewestcott Pushed |
Lovely! Thanks both for your efforts. Upgrade to I did try to enable
Installing |
I will enable esbuild for minimization (https://github.com/privatenumber/esbuild-loader#js-minification-eg-terser) in my next PR. But for replacing tsc it's not better because webpack is the bottleneck. |
Merged #235 Cut a new release |
FWIW: I verified that this solved issues I had with private class fields when using serverless-bundle 4.3.1. 👍 👍 |
Awesome! Hey all, I'd like to merge this. Anybody run into any issues with this? |
Thanks for your work on this @jayair. It's been a month since you asked if anyone has had issues with it, and apparently |
A huge thanks to @thomaschaaf for putting this together. It includes:
Refer to the original PR #208.
Please help us test it. We are creating canary releases.
The text was updated successfully, but these errors were encountered: