fix(cli): make outputDir option of artifacts command compatible with v2 (#1850)

This commit is contained in:
LongYinan 2023-12-13 10:41:08 +08:00 committed by GitHub
parent 1dda26e6cd
commit a697cf1cf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ export function applyDefaultArtifactsOptions(options: ArtifactsOptions) {
return {
cwd: process.cwd(),
packageJsonPath: 'package.json',
outputDir: './',
outputDir: './artifacts',
npmDir: 'npm',
...options,
}