Skip to content

Commit

Permalink
Use SourceGlobs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored and jbedard committed Oct 13, 2024
1 parent ae670cd commit 96bc2b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pnpm-workspaces/.aspect/cli/main.star
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ def declare_main_js(ctx):
aspect.register_configure_extension(
id = "main_js",
prepare = lambda _: aspect.PrepareResult(
sources = [aspect.SourceFiles("src/main.js", "src/main.ts")],
sources = [
aspect.SourceGlobs("**/main.ts"),
aspect.SourceGlobs("**/main.js"),
],
),
declare = declare_main_js,
)

0 comments on commit 96bc2b1

Please sign in to comment.