Skip to content

Commit

Permalink
build: optimise glob usage
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Mar 6, 2023
1 parent aeb8fcf commit eb87e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function main() {
rmSync("pkg", { recursive: true });
// Build the source code for a neutral platform as ESM
await esbuild.build({
entryPoints: [...glob("./src/*.ts"), ...glob("./src/**/*.ts")],
entryPoints: glob(["./src/*.ts", "./src/**/*.ts"]),
outdir: "pkg/dist-src",
bundle: false,
platform: "neutral",
Expand Down

0 comments on commit eb87e2e

Please sign in to comment.