-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: bruk tiny-glob for globbing av filer under bygg
- Loading branch information
Showing
38 changed files
with
92 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import glob from "glob"; | ||
import glob from "tiny-glob"; | ||
import { build } from "../../esbuild.prod.mjs"; | ||
|
||
await build({ | ||
entryPoints: glob.sync("src/**/*.@(ts|tsx)", { ignore: "src/**/*.test.@(ts|tsx)" }), | ||
entryPoints: await glob("src/**/!(*.test).@(ts|tsx)"), | ||
outdir: "build", | ||
}); |
Oops, something went wrong.