mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Fixed model loading and accessing when function is deployed
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
"firebase-debug.log",
|
||||
"firebase-debug.*.log"
|
||||
],
|
||||
"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run build"]
|
||||
"predeploy": [
|
||||
"cp -r ../models functions/models",
|
||||
"npm --prefix \"$RESOURCE_DIR\" run build"
|
||||
],
|
||||
"postdeploy": ["rm -rf functions/models"]
|
||||
}
|
||||
],
|
||||
"storage": {
|
||||
|
||||
Reference in New Issue
Block a user