We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77ed143 commit 6e1dfcaCopy full SHA for 6e1dfca
prepack.ts
@@ -11,13 +11,12 @@ const main = async (): Promise<void> => {
11
const version = await injectVersion(
12
fileURLToPath(new URL(versionFile, import.meta.url))
13
)
14
-
15
// eslint-disable-next-line no-console
16
- console.log(`✓ Version ${version} injected into ${versionFile}
17
18
-> tsc --project tsconfig.version.json`)
+ console.log(`✓ Version ${version} injected into ${versionFile}`)
19
20
- await $`tsc --project tsconfig.version.json`
+ const { command } = await $`tsc --project tsconfig.version.json`
+ // eslint-disable-next-line no-console
+ console.log(`✓ Rebuilt with '${command}'`)
21
}
22
23
const injectVersion = async (path: string): Promise<string> => {
0 commit comments