loopbackio / loopbackio/loopback-next
[@loopback/build] not copying non-TypeScript files with --copy-resources flag from v9.0.10
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5.1k
- Forks
- 1.1k
- Ø Merge
- 2 T. 21 Std.
- Gemergte PRs (30 T.)
- 27
Beschreibung
### Describe the bug
Hello,
It's not a best practice but in a few use cases we need to copy non-Typescript files when building a project.
For this reason with TypeScript we have the option to use --copy-resources with LB Build package.
lb-tsc --copy-resources
Although from loopback/build v9.0.10 non-TypeScript files are not copied. This breaks the code in some scenarios as files are not found.
PS: I will try to find a time to figure out the root cause but if anyone has any idea please let us know.
BR,
Harshal
### Logs
_No response_
### Additional information
_No response_
### Reproduction
.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem lb-tsc-Einstiegspunkt in @loopback/build und verfolge die Verarbeitung des Flags --copy-resources. Reproduziere das gemeldete Verhalten mit einem Projekt, das Nicht-TypeScript-Dateien enthält, und überprüfe anschließend, dass diese Ressourcen während des Builds kopiert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100