Kujtim Hoxha
02/13/2022, 8:02 PMKujtim Hoxha
02/13/2022, 8:06 PMKujtim Hoxha
02/13/2022, 9:45 PM"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
}
2. Add a new file to the root esbuild.js
also install @anatine/esbuild-decorators
const { esbuildDecorators } = require("@anatine/esbuild-decorators");
module.exports = [esbuildDecorators()];
3. Add these function configs
bundle:{
externalModules:["@nestjs/websockets","@nestjs/microservices", "cache-manager"],
esbuildConfig: {
plugins: "esbuild.js",
},
}
If you use the modules that are marked as external here install them and remove them from the list.Frank
ANY /{proxy+}
route in Api?Kujtim Hoxha
02/13/2022, 10:51 PMKujtim Hoxha
02/13/2022, 10:51 PMKujtim Hoxha
02/13/2022, 10:51 PMKujtim Hoxha
02/13/2022, 10:51 PMKujtim Hoxha
02/13/2022, 10:52 PMANY /users/{proxy+}
ANY /something/{proxy+}
Kujtim Hoxha
02/13/2022, 10:52 PMKujtim Hoxha
02/13/2022, 10:52 PMFrank
Frank
manitej
02/13/2022, 11:49 PMAdrián Mouly
02/14/2022, 12:40 AMAdrián Mouly
02/14/2022, 12:40 AMAdrián Mouly
02/14/2022, 12:40 AMAdrián Mouly
02/14/2022, 12:40 AMAdrián Mouly
02/14/2022, 12:41 AMAdrián Mouly
02/14/2022, 12:42 AMAdrián Mouly
02/14/2022, 12:42 AMKujtim Hoxha
02/14/2022, 10:56 AMKujtim Hoxha
02/14/2022, 10:57 AMKujtim Hoxha
02/14/2022, 10:58 AMTechnically
you could still have 1 lambda be 1 module with 1 controller that serves 1 API endpoint but why have all the unnecessary bloatAdrián Mouly
02/14/2022, 12:30 PM