Comments (5)
A potential problem I see is that we are unmarshalling esbuild from json.
Does that mean that the plugin that is a javascript function won't get converted to go?
https://github.com/sst/ion/blob/dev/pkg/runtime/node.go#L70
How does esbuild handle the conversion from javascript to go?
from ion.
@leon I was following your messages in Discord, did you make some progress on this?
from ion.
No unfortunately not.
Tried a couple of things but got stuck.
It's a bit complicated because of the typescript / go marshaling.
Hope someone else can look at it soon 🤓
from ion.
yeah this is quite tricky - we used to require you to pass in a path to a file that loaded the plugins, but don't really want to go back to that
we might not be able to support esbuild plugins
from ion.
A solution we could do is add a config Boolean to function called experimentalDecorators which in turn adds an esbuild plugin that compiles using typescript.
Only a couple of lines of code is needed.
What do you think? 🤔
from ion.
Related Issues (20)
- Nested properties are not merged when doing a partial transform
- SolidStart Component Errors - 404 no s3 bucket found HOT 1
- publish to bus broken in cluster task HOT 1
- binding realtime component to eventbus subscriber doesn't add iot perms
- geting an invalid character error when using sst HOT 1
- SST NextJs deploy fails while creating server bundle HOT 1
- ApiGatewayV1 and ApiGatewayV2 should be restructured to allow route specific settings (throttling etc.)
- Global `$transform` overwrites transform in the constructors
- Wrong permissions attached to SQS queue subscribed to a SNS topic HOT 1
- ApiGatewayV2 does not allow using custom domains and custom stage names together HOT 2
- Bucket: Defining lifecycle? HOT 2
- sst deploy hangs forever in ci HOT 3
- sst dev doesn't forward event bus links HOT 3
- Example: Pothos graphql example
- Unable to use sharp in Next.js Server Lambda HOT 1
- Docs: Learn the basics HOT 1
- Docs: Use file headers in snippets to separate runtime and IaC code
- AWS SDK locally doesn't know the region if not set in the credentials HOT 1
- `sst init` fails for a next.js app HOT 7
- New component: AWS Kinesis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion.