From 1ad38acbcd974bb4b0d7e404d4bde5c0e0d4b9d5 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Mon, 14 Jun 2021 18:54:47 +0530 Subject: [PATCH] chore(gatsby): Fix Invalid 'main' field error (#31899) (cherry picked from commit d06d6b5a286bc6140f178d30170674e755b5f273) --- .../src/internal-plugins/functions/{index.ts => index.js} | 0 packages/gatsby/src/internal-plugins/functions/package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/gatsby/src/internal-plugins/functions/{index.ts => index.js} (100%) diff --git a/packages/gatsby/src/internal-plugins/functions/index.ts b/packages/gatsby/src/internal-plugins/functions/index.js similarity index 100% rename from packages/gatsby/src/internal-plugins/functions/index.ts rename to packages/gatsby/src/internal-plugins/functions/index.js diff --git a/packages/gatsby/src/internal-plugins/functions/package.json b/packages/gatsby/src/internal-plugins/functions/package.json index bd877f00cee68..5e97bd14dd8c9 100644 --- a/packages/gatsby/src/internal-plugins/functions/package.json +++ b/packages/gatsby/src/internal-plugins/functions/package.json @@ -2,7 +2,7 @@ "name": "functions", "version": "1.0.0", "description": "An internal Gatsby plugin which lets one write serverless functions", - "main": "index.ts", + "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" },