Fix public asset deployment
This commit is contained in:
parent
df7a34f355
commit
ba61105204
2 changed files with 1 additions and 1 deletions
|
@ -1,2 +1 @@
|
|||
{"name":"Michael Bradley's Website","short_name":"Michael Bradley","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#0dcdcd","background_color":"#000000"}
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ node -e 'import("./dist/server/entry-server.js").then(({render}) => console.log(
|
|||
echo "Preparing $PROD..."
|
||||
# Copy used assets
|
||||
cp -r dist/client/assets "$PROD"/
|
||||
cp public/* "$PROD"/
|
||||
# Not needed: Pre-rendered
|
||||
rm "$PROD"/assets/*.js
|
||||
# Not needed: Inlined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue