refactor(presetter): remove dependency on fs-extra

This commit is contained in:
Alvis HT Tang 2022-09-23 11:44:08 +01:00
parent aae318098d
commit 93a1ed2b0d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export default async function (): Promise<PresetAsset> {
template: { template: {
/* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @typescript-eslint/naming-convention */
'rollup.config.ts': async (context) => { 'rollup.config.ts': async (context) => {
const content = await loadFile( const content = loadFile(
resolve(TEMPLATES, 'rollup.config.ts'), resolve(TEMPLATES, 'rollup.config.ts'),
'text', 'text',
); );