stesie.github.io - stesie's musings

Description: This is my personal collection of random musings, related to stuff I am interested in ... that is web-related development, Software Craft, Docker, Continuous Integration, ...

Example domain paragraphs

All Posts By Tag Oct 9, 2018 • tagged Serverless Framework Azure Azure Functions Typescript Webpack Azure Functions on Typescript I’ve been playing around with Azure Functions for quite some time now. However I’ve been trying it with the corresponding Visual Studio Code extension. After all it’s a pretty smooth start, all things are published by Microsoft itself and well documented.

Soon I noticed that access to the filesystem seems to be slow on Azure’s serverless runtime. This is if your code relies on larger amounts of files to be loaded from node_modules , then you’ll face long cold start times. However there’s a simple solution to that: Webpack. And I wanted to go with Typescript anyhow, so let’s use ts-loader as well. How hard can it be.

Since there was no template project for it, I’ve just created a new project template azure-nodejs-typescript over on GitHub. It’s mainly a mashup of aws-nodejs-typescript template and the azure-nodejs one.

Links to stesie.github.io (1)