Closed dimaslanjaka closed 9 months ago
@jantimon review pls
Can you describe usecase for this?
Can you describe usecase for this?
for seo when generate static site using webpack. So I don't need to create a sitemap anymore, because it has been generated by the Webpack HTML plugin.
Sorry, it is out of scope html-webpack-plugin, you can use https://github.com/schneidmaster/sitemap-webpack-plugin, that is why we have the plugin API, feel free to feedback
Sorry, it is out of scope html-webpack-plugin, you can use https://github.com/schneidmaster/sitemap-webpack-plugin, that is why we have the plugin API, feel free to feedback
That plugin does not support sitemap.txt
, and must also manage each URL object. It cannot be automated when creating html like this 'webpack html plugin'. It's the same as if I have to create a manual URL list if I want to add a new endpoint :(
Is your feature request related to a problem? Please describe. I want print generated html into
sitemap.txt
Describe the solution you'd like
may this feature can generate using below formula:
in
webpack.config.js
like:the result in dist/sitemap.txt