79290577

Date: 2024-12-18 09:27:13
Score: 1.5
Natty:
Report link

As I'm new, I can't comment directly on NeNaD's answer. Please be aware, that if you opt for this solution, this will replace your assets configuration you defined earlier in the general build options. If you don't want to replace the entire assets configuration but replace specific files based on the environment, work with fileReplacements, e.g.:

"build": {
    "configurations": {
        "production": {
            "fileReplacements": [
                {
                    "replace": "src/assets/seo/development/robots.txt",
                    "with": "src/assets/seo/production/robots.txt"
                },
                {
                    "replace": "src/assets/seo/development/sitemap.xml",
                    "with": "src/assets/seo/production/sitemap.xml"
                }
            ]
        }
    }
}

I hope this helps any one trying NeNaD's answer and wondering where their images went.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (1): can't comment
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Julia Eichler