From 6b76a38e2b3a2a6969fa0e8cc5beb3f950a761e3 Mon Sep 17 00:00:00 2001 From: josefaidt Date: Wed, 13 Aug 2025 08:24:05 -0700 Subject: [PATCH] allow importing html files to functions --- packages/backend-function/src/factory.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend-function/src/factory.ts b/packages/backend-function/src/factory.ts index b24d42913ea..cab52a08991 100644 --- a/packages/backend-function/src/factory.ts +++ b/packages/backend-function/src/factory.ts @@ -470,6 +470,7 @@ class FunctionFactory implements ConstructFactory { bundleAwsSDK: true, loader: { '.node': 'file', + '.html': 'text', }, minify: true, sourceMap: true,