refactor(presetter): remove dependency on fs-extra
This commit is contained in:
parent
aae318098d
commit
93a1ed2b0d
|
@ -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',
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue