app,backend,create-app: add files declaration to package.jsons

This commit is contained in:
Patrik Oldsberg
2020-12-06 22:50:20 +01:00
parent a1fffce071
commit 94348441e0
5 changed files with 28 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/create-app': patch
---
Add `"files": ["dist"]` to both app and backend packages. This ensures that packaged versions of these packages do not contain unnecessary files.
To apply this change to an existing app, add the following to `packages/app/package.json` and `packages/backend/package.json`:
```json
"files": [
"dist"
]
```