diff --git a/src/index.ts b/src/index.ts index 6d79dc9..26160e5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,7 +76,7 @@ export default async function (context: PresetContext): Promise { }, }, "esbuild": { - entryPoints: ["{source}/index.ts"], + entryPoints: ["{source}/index.js"], outfile: `{output}/${name}.js`, format: "cjs", bundle: true,