Skip to content

Commit 6807c43

Browse files
MeAkibalan-agius4
andauthored
Update packages/schematics/angular/migrations/use-library-builder/migration.ts
Co-authored-by: Alan Agius <alan.agius4@gmail.com>
1 parent 76929e6 commit 6807c43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/schematics/angular/migrations/use-library-builder

‎packages/schematics/angular/migrations/use-library-builder/migration.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function migrateTargetOptions(
267267

268268
// `ng-packagr` treats a string that is neither a file nor a directory as a glob relative
269269
// to the package root, while the library builder only accepts files and directories.
270-
return { glob: normalize(asset), input: join(projectDir, '.'), output: '/' };
270+
return { glob: asset, input: projectDir };
271271
}
272272
if (isJsonObject(asset) && typeof asset['input'] === 'string') {
273273
return {

0 commit comments

Comments
 (0)