fix: index file is js not ts
This commit is contained in:
parent
e7e53be40e
commit
d5b48773a9
|
@ -76,7 +76,7 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"esbuild": {
|
"esbuild": {
|
||||||
entryPoints: ["{source}/index.ts"],
|
entryPoints: ["{source}/index.js"],
|
||||||
outfile: `{output}/${name}.js`,
|
outfile: `{output}/${name}.js`,
|
||||||
format: "cjs",
|
format: "cjs",
|
||||||
bundle: true,
|
bundle: true,
|
||||||
|
|
Loading…
Reference in New Issue