is it possible to configure esbuild to minimize?
# sst
t
is it possible to configure esbuild to minimize?
t
Do we not already do this by default?
I can make an issue for it
should be ez
t
doesn’t look like it. This is for a deploy, not dev. I wouldn’t expect it in dev, but for deploy I would think we’re going for smallest output possible.
maybe the stage has to be set to prod or something?
t
Yeah we should be minifiying I'll make an issue
t
it’s very possible I’m just not configuring it correctly
or perhaps it’s an implicit behavior instead of an explicit configuration, and I’m not deploying it to the correct stage to implicitly enable minification or something like that
t
We don't consider stage names in sst since they can be anything, we only consider whether it's in local mode or deploy mode
But we should be minifying automatically in deploy mode, I made an issue for it
t
thanks
t
Latest release does this
t
amazing!!