Does anyone know of any "tricks" to serialize thir...
# typescript
c
Does anyone know of any "tricks" to serialize third party code that Pulumi doesn't like. I'm thinking potentially compiling myself first via babel or parcel?
f
Any reason following the compile suggestion doesn’t work?
c
I can't modify it because it's third party code 😕
I did actually try creating my own version of src/ApolloServer.js from here https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cloud-functions and referencing that.
But I went down a rabbit hole of breaking
this
hmmm wait
I was typing something out and I might have just rubber-ducked myself
hm ok I managed to get Pulumi to serialize everything by re-assigning references to this, but now I get unexpected keyword "super", when running on GCP