Merge pull request #3595 from backstage/rugvip/dist

app,backend,create-app: add files declaration to package.jsons
This commit is contained in:
Patrik Oldsberg
2020-12-07 10:15:32 +01:00
committed by GitHub
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"
]
```