-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a placeholder default export to
std
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
import { toolchain } from "./toolchain"; | ||
|
||
export * from "./core"; | ||
export * from "./toolchain"; | ||
|
||
export const project = { | ||
name: "std", | ||
version: "0.0.0", | ||
}; | ||
|
||
// NOTE: This default export is a workaround so that `brioche build -p ./std` | ||
// will build the toolchain. This will be removed once we support building | ||
// other exports more easily. The `never` type is used to discourage external | ||
// use. | ||
export default function (): never { | ||
return toolchain() as never; | ||
} |