File tree 3 files changed +21
-2700
lines changed
3 files changed +21
-2700
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ node_modules
4
4
* .js
5
5
* .js.map
6
6
.gitignore
7
- * .code-workspace
7
+ * .code-workspace
8
+ ** /package-lock.json
Original file line number Diff line number Diff line change @@ -43,22 +43,32 @@ This command has no effect if the option `--no-build` option is active.
43
43
44
44
45
45
#### --no-build <a name =" no-build " ></a >
46
- * __ optional __
47
- * Default: ` false ` (string)
48
- * Example:
49
- * ` ng deploy ` – Angular project is build in production mode before the deployment
50
- * ` ng deploy --no-build ` – Angular project is NOT build
46
+ - ** optional **
47
+ - Default: ` false ` (string)
48
+ - Example:
49
+ - ` ng deploy ` – Angular project is build in production mode before the deployment
50
+ - ` ng deploy --no-build ` – Angular project is NOT build
51
51
52
52
Skip build process during deployment.
53
53
This can be used when you are sure that you haven't changed anything and want to deploy with the latest artifact.
54
54
This command causes the ` --configuration ` setting to have no effect.
55
55
56
56
#### --create <a name =" create " ></a >
57
- * __ optional__
58
- * Default: ` false ` (string)
59
- * Example:
60
- * ` ng deploy --create ` – Will create a new site if there is no site id or the site id is does not exists on netlify
57
+ - ** optional**
58
+ - Default: ` false ` (string)
59
+ - Example:
60
+ - ` ng deploy --create ` – Will create a new site if there is no site id or the site id is does not exists on netlify
61
+
62
+ #### --base-href <a name =" base-href " ></a >
63
+
64
+ - ** optional**
65
+ - Default: ` undefined ` (string)
66
+ - Example:
67
+ - ` ng deploy ` – The tag ` <base href="/"> ` remains unchanged in your ` index.html `
68
+ - ` ng deploy --base-href=/the-repositoryname/ ` – The tag ` <base href="/the-repositoryname/"> ` is added to your ` index.html `
61
69
70
+ Specifies the base URL for the application being built.
71
+ Same as ` ng build --base-href=/XXX/ `
62
72
## License
63
73
64
74
MIT
You can’t perform that action at this time.
0 commit comments