这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

fyi, for anyone who comes across this, i solved it by breaking sitemap into it's own task:

sitemap": {
  "dependsOn": ["build"],
  "outputs": ["public/robots.txt", "public/sitemap*.xml"]
},

and then a deploy task which both builds and sitemaps:

"deploy": {
  "dependsOn": ["build", "sitemap"],
  "outputs": []
},

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Barik85
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@andhisan
Comment options

@jaredcbaum
Comment options

Answer selected by anthonyshew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants