From 8cd02bf644ac00e60cbb09e12ed701c37e5e2e81 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 8 Jun 2021 16:58:07 -0500 Subject: [PATCH] Switch to import --- helpers/incremental/caching.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/incremental/caching.js b/helpers/incremental/caching.js index 8abbd3a..39071d4 100644 --- a/helpers/incremental/caching.js +++ b/helpers/incremental/caching.js @@ -1,6 +1,7 @@ import { promises as fs } from 'fs' -const TOML = require('@iarna/toml') +import { default as TOML } from '@iarna/toml' + export async function getNetlifyConfig () {