-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
serverless-prisma-esm
Transpiling pure ESM npm packages with Webpack, Serverless Framework and Prisma
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Recently, some of the npm packages I was using together with Serverless Framework had upgraded to 'pure ESM'. This meant that they no longer supported the older CommonJS require syntax and I needed to figure out how get Webpack to bundle eveything up nicely again to deploy as a CommonJS AWS lambda.
Since I was using serverless-webpack along with Prisma's serverless-webpack-prisma helper, this meant a bit of extra Webpack config setup to get it all using the same module syntax without the usual dreaded 'Unexpected token export' or import error from Node.
You can check out the full prototype on GitHub.
As part of that, I wanted to migrate the dedicated server based video update process to use long-running, scheduled serverless functions.
Recently, some of the npm packages I was using together with Serverless Framework had upgraded to 'pure ESM'. This meant that they no longer supported the older CommonJS require syntax and I needed to figure out how get Webpack to bundle eveything up nicely again to deploy as a CommonJS AWS lambda.
Related posts
-
Migrating a classic Express.js to Serverless Framework
-
I made a Discogs Wantlist Marketplace Monitor for a specific country via email
-
I made a Discogs Wantlist Marketplace Monitor for a specific country via email
-
How we keep our Serverless deploy times short and avoid headaches
-
How to Create a Hybrid NPM Module for ESM and CommonJS.