-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gcloudignore
38 lines (32 loc) · 1.01 KB
/
.gcloudignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/.github/
/_assets/
/scripts/
/*.yaml
*.md
lighthouserc.json
sonar-project.properties
.eslintrc
.prettierrc.json
.stylelintrc.json
.gcloudignore
.git
.gitignore
#!include:.gitignore
# Explainer:
# App is built with Github Actions workflow, check out .github/workflows/main.yml
# So, GAE upload will skip sources and build configs, and upload dist files instead.
/src/
/templates/style/
rollup.*.js
tsconfig.json
!dist
# Note preinstall script in the package.json!
# It will unpack uploaded node_modules.tar.gz before installing dependencies.
# node_modules dir upload is skipped deliberately (with #!include:.gitignore).
# Cloud Build step for GAE standard environment removes node_modules dir before running yarn install step.
# Here is an explanation for this hack: https://stackoverflow.com/a/39028187/1412330
# Also note:
# Not uploading package.json and yarn.lock while uploading node_modules will not work,
# GAE requires either one of those and always runs npm/yarn install step.
# Generated static files
!public/dist/