Avoid copying generated file 'style.css.map'
[valheim_web.git] / deploy.ps1
index 5635894..bd431f0 100755 (executable)
@@ -20,7 +20,7 @@ if (!(Test-Path -Path $destination)) {
 strip target/release/valheim_web # To reduce the executable size.
 Copy-Item target/release/valheim_web -Destination $destination
 
-Copy-Item backend/static -Destination $destination -Recurse -Force
+Copy-Item backend/static -Destination $destination -Recurse -Force -Exclude style.css.map
 
 # Do not overwrite the configuration.
 if (!(Test-Path -Path $destination/conf.ron)) {