transpile typescript with inversify
Hello I wish to migrate to serverless-bundle to avoid managing webpack and so on, unfortunatly it seems that the code deployed is not correct when inversify is used. To demonstrate it, I made a very simple project with 1 lambda that call a class function of a container when it's invoked. unzip, npm install then npm run start TypeError: Cannot read property 'Foo' of undefined bundle.zip
Any idea how to update webpack/babel configuration to handle inversify?
Thanks for your help
I tried the project you uploaded and tried this. It seems to work?
@slaplace I've been using serverless-bundle with inversify on several projects, maybe you should try using the current version of both packages.
thanks. I will try during the next weeks and I'll keep you in touch.