Add `deployUrl` for cloud

Importing relative assets from components will get them output to the
deployPath and prepended with the `deployUrl`.

This unfortunately is static, and not supported with our
RELATIVE_URL_ROOT rails option, which currently does not trigger
compilation.

On cloud, this is not a problem so enabling this option for the
subscription plugin
pull/8502/head
Oliver Günther 4 years ago
parent 7e36f72f7f
commit dd56bc08f3
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 3
      frontend/angular.json

@ -14,6 +14,7 @@
"options": { "options": {
"preserveSymlinks": true, "preserveSymlinks": true,
"aot": true, "aot": true,
"deployUrl": "/assets/frontend/",
"outputPath": "../public/assets/frontend/", "outputPath": "../public/assets/frontend/",
"index": "src/index2.html", "index": "src/index2.html",
"main": "src/main.ts", "main": "src/main.ts",
@ -155,4 +156,4 @@
"cli": { "cli": {
"analytics": false "analytics": false
} }
} }

Loading…
Cancel
Save