Skip to content

Commit

Permalink
Remove the webpack manifest files from the output, since Chrome at a …
Browse files Browse the repository at this point in the history
…minimum complains.
  • Loading branch information
SirStendec committed Oct 12, 2024
1 parent 1ac92b8 commit 179f9cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/copy-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ cp -r client/dist/* dist/web/
cp -r addons/dist/* dist/web/
cp -rf src/* dist/

# Remove some files that we don't want to include
# in our packaged extensions.
rm -rf dist/web/bom
rm -rf dist/web/addons-bom
rm dist/web/manifest.json
rm dist/web/addons/manifest.json

# Find the addons.*.json file and rename it.
shopt -s nocasematch
Expand Down

0 comments on commit 179f9cd

Please sign in to comment.