Harry Collin
04/15/2021, 4:50 PMFrank
sst start
. Is there a specific plugin you are looking to use?Harry Collin
04/15/2021, 5:30 PMHarry Collin
04/15/2021, 5:30 PMFrank
emitDecoratorMetadata
has been brought up.
This is a snippet taken from the plugin README:
const esbuildPluginTsc = require('esbuild-plugin-tsc');
...
esbuild.build({
...
plugins: [
esbuildPluginTsc(),
],
})
Should bundle
take plugin objects like this?
const esbuildPluginTsc = require('esbuild-plugin-tsc');
sst.Function(this, "MyFunction", {
handler: "src/lambda.main",
bundle: {
plugins: [ esbuildPluginTsc() ]
},
});
Harry Collin
04/15/2021, 6:14 PMFrank
Harry Collin
04/16/2021, 7:30 PM