Is it possible to disable esbuild for `sst start`?...
# sst
t
Is it possible to disable esbuild for
sst start
? I’ve already disabled bundling which works for deploy, but during
sst start
it still runs everything through esbuild which messes with my source map. (This is an existing app with a complex webpack config, so I webpack build first, then point the function to the result).
I just looked through the source code. That would be a no 😞
hmmm… that is really sad. I’m not sure what to do here.
I might have just gotten it to work…
So fwiw if anyone else has this same situation, you can’t run webpack in mode ‘production’. The result going in to esbuild can’t be minified. Esbuild will first de-minify using the source maps, then compile and create it’s own source map, based off of the de-minified version (excluding the original sources provided to webpack).