From 364d8e2d5469ad1274030ac6e496ddcc453d38b0 Mon Sep 17 00:00:00 2001 From: Patrick Cartlidge Date: Thu, 4 Jan 2024 12:36:23 +0000 Subject: [PATCH] googleoggogle --- mailer-script.js | 5 ++--- package.json | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mailer-script.js b/mailer-script.js index d9eab19..cfac4c1 100644 --- a/mailer-script.js +++ b/mailer-script.js @@ -1,6 +1,5 @@ -import { initializeApp, applicationDefault } from 'firebase-admin/app'; -import { getFirestore } from 'firebase-admin/firestore'; - +import { initializeApp, applicationDefault } = require("firebase-admin/app"); +import { getFirestore } = require("firebase-admin/firestore"); let firebaseConfig; if (process.env.GOOGLE_CREDS) { diff --git a/package.json b/package.json index 1e026c9..d30a5e4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "eleventy-base-blog", "version": "8.0.0", - "type": "module", "description": "A starter repository for a blog web site using the Eleventy site generator.", "scripts": { "build": "npx @11ty/eleventy",