From 93a1ed2b0da58c3d877605643f9f887ced5fbb6d Mon Sep 17 00:00:00 2001 From: Alvis HT Tang Date: Fri, 23 Sep 2022 11:44:08 +0100 Subject: [PATCH] refactor(presetter): remove dependency on fs-extra --- source/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.ts b/source/index.ts index f51cd43..275eb78 100644 --- a/source/index.ts +++ b/source/index.ts @@ -52,7 +52,7 @@ export default async function (): Promise { template: { /* eslint-disable @typescript-eslint/naming-convention */ 'rollup.config.ts': async (context) => { - const content = await loadFile( + const content = loadFile( resolve(TEMPLATES, 'rollup.config.ts'), 'text', );