Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add minify xml option #336

Merged
merged 1 commit into from
Aug 12, 2024
Merged

feat: add minify xml option #336

merged 1 commit into from
Aug 12, 2024

Conversation

Henvy-Mango
Copy link
Contributor

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Add a feature to minify xml which can reduce the size of xml file.
Removed extra spaces and line breaks.

For example:

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/__sitemap__/style.xsl"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>http://localhost:3000/</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/" />
    </url>
    <url>
        <lastmod>2023-01-21</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.3</priority>
        <image:image>
            <image:loc>https://example.com/image.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image2.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image2.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image-3.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image2.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image-3.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image2.jpg</image:loc>
        </image:image>
        <loc>http://localhost:3000/about</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/about" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/about" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/about" />
        <xhtml:link rel="alternate" href="http://localhost:3000/about" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/about" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/fr/about" hreflang="fr" />
        <xhtml:link rel="alternate" href="http://localhost:3000/fr/about" hreflang="fr" />
        <xhtml:link rel="alternate" href="http://localhost:3000/fr/about" hreflang="fr" />
    </url>
    <url>
        <loc>http://localhost:3000/bar</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/bar" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/bar" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/foo</loc>
        <priority>0.5</priority>
        <xhtml:link rel="alternate" href="http://localhost:3000/foo" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/foo.bar</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/foo.bar" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/foo.bar" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/foo.bar" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo.bar" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo.bar" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/fr/foo.bar" hreflang="fr" />
    </url>
    <url>
        <loc>http://localhost:3000/fr</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/" />
    </url>
    <url>
        <loc>http://localhost:3000/hidden-path-but-in-sitemap</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/hidden-path-but-in-sitemap" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/hidden-path-but-in-sitemap" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/hidden-path-but-in-sitemap" />
    </url>
    <url>
        <loc>http://localhost:3000/manual-url-test</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/manual-url-test" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/manual-url-test" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/new-page</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/new-page" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/new-page" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/new-page" />
    </url>
    <url>
        <loc>http://localhost:3000/prerender</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender" />
        <xhtml:link rel="alternate" href="http://localhost:3000/prerender" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/prerender" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/fr/prerender" hreflang="fr" />
    </url>
    <url>
        <loc>http://localhost:3000/prerender-video</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender-video" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender-video" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender-video" />
        <xhtml:link rel="alternate" href="http://localhost:3000/prerender-video" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/prerender-video" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/fr/prerender-video" hreflang="fr" />
    </url>
    <url>
        <loc>http://localhost:3000/should-be-in-sitemap</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/should-be-in-sitemap" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/should-be-in-sitemap" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/api/foo</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/api/foo" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/api/foo" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/api/foo" />
    </url>
    <url>
        <loc>http://localhost:3000/foo/1</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/1" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/1" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/1" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/1" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/foo/2</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/2" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/2" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/2" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/2" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/foo/3</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/3" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/3" hreflang="en" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/3" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/foo/3" hreflang="en" />
    </url>
    <url>
        <lastmod>2023-01-21</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.3</priority>
        <image:image>
            <image:loc>https://example.com/image.jpg</image:loc>
        </image:image>
        <image:image>
            <image:loc>https://example.com/image2.jpg</image:loc>
        </image:image>
        <loc>http://localhost:3000/fr/about</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/about" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/about" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/about" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/foo.bar</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/foo.bar" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/foo.bar" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/foo.bar" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/hidden-path-but-in-sitemap</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/hidden-path-but-in-sitemap" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/hidden-path-but-in-sitemap" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/hidden-path-but-in-sitemap" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/hide-me</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/hide-me" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/hide-me" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/hide-me" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/new-page</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/new-page" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/new-page" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/new-page" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/prerender</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/prerender-video</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender-video" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender-video" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender-video" />
    </url>
    <url>
        <loc>http://localhost:3000/posts/foo</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/posts/foo" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/posts/foo" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/users-lazy/1</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/1" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/1" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/users-lazy/2</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/2" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/2" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/users-lazy/3</loc>
        <xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/3" hreflang="x-default" />
        <xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/3" hreflang="en" />
    </url>
    <url>
        <loc>http://localhost:3000/fr/api/foo</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/api/foo" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/api/foo" />
        <xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/api/foo" />
    </url>
</urlset>
<!-- XML Sitemap generated by @nuxtjs/sitemap v6.0.0-beta.1 at 2024-08-09T07:12:57.951Z -->

After Minify

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/__sitemap__/style.xsl"?><urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>http://localhost:3000/</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/" /></url><url><lastmod>2023-01-21</lastmod><changefreq>daily</changefreq><priority>0.3</priority><image:image><image:loc>https://example.com/image.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image2.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image2.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image-3.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image2.jpg</image:loc></image:image><loc>http://localhost:3000/about</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/about" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/about" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/about" /><xhtml:link rel="alternate" href="http://localhost:3000/about" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/about" hreflang="en" /><xhtml:link rel="alternate" href="http://localhost:3000/fr/about" hreflang="fr" /><xhtml:link rel="alternate" href="http://localhost:3000/fr/about" hreflang="fr" /></url><url><loc>http://localhost:3000/bar</loc><xhtml:link rel="alternate" href="http://localhost:3000/bar" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/bar" hreflang="en" /></url><url><loc>http://localhost:3000/foo</loc><priority>0.5</priority><xhtml:link rel="alternate" href="http://localhost:3000/foo" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/foo" hreflang="en" /></url><url><loc>http://localhost:3000/foo.bar</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/foo.bar" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/foo.bar" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/foo.bar" /><xhtml:link rel="alternate" href="http://localhost:3000/foo.bar" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/foo.bar" hreflang="en" /><xhtml:link rel="alternate" href="http://localhost:3000/fr/foo.bar" hreflang="fr" /></url><url><loc>http://localhost:3000/fr</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/" /></url><url><loc>http://localhost:3000/hidden-path-but-in-sitemap</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/hidden-path-but-in-sitemap" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/hidden-path-but-in-sitemap" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/hidden-path-but-in-sitemap" /></url><url><loc>http://localhost:3000/manual-url-test</loc><xhtml:link rel="alternate" href="http://localhost:3000/manual-url-test" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/manual-url-test" hreflang="en" /></url><url><loc>http://localhost:3000/new-page</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/new-page" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/new-page" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/new-page" /></url><url><loc>http://localhost:3000/prerender</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender" /><xhtml:link rel="alternate" href="http://localhost:3000/prerender" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/prerender" hreflang="en" /><xhtml:link rel="alternate" href="http://localhost:3000/fr/prerender" hreflang="fr" /></url><url><loc>http://localhost:3000/prerender-video</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender-video" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender-video" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender-video" /><xhtml:link rel="alternate" href="http://localhost:3000/prerender-video" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/prerender-video" hreflang="en" /><xhtml:link rel="alternate" href="http://localhost:3000/fr/prerender-video" hreflang="fr" /></url><url><loc>http://localhost:3000/should-be-in-sitemap</loc><xhtml:link rel="alternate" href="http://localhost:3000/should-be-in-sitemap" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/should-be-in-sitemap" hreflang="en" /></url><url><loc>http://localhost:3000/api/foo</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/api/foo" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/api/foo" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/api/foo" /></url><url><loc>http://localhost:3000/foo/1</loc><xhtml:link rel="alternate" href="http://localhost:3000/foo/1" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/foo/1" hreflang="en" /></url><url><loc>http://localhost:3000/foo/2</loc><xhtml:link rel="alternate" href="http://localhost:3000/foo/2" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/foo/2" hreflang="en" /></url><url><loc>http://localhost:3000/foo/3</loc><xhtml:link rel="alternate" href="http://localhost:3000/foo/3" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/foo/3" hreflang="en" /></url><url><lastmod>2023-01-21</lastmod><changefreq>daily</changefreq><priority>0.3</priority><image:image><image:loc>https://example.com/image.jpg</image:loc></image:image><image:image><image:loc>https://example.com/image2.jpg</image:loc></image:image><loc>http://localhost:3000/fr/about</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/about" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/about" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/about" /></url><url><loc>http://localhost:3000/fr/foo.bar</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/foo.bar" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/foo.bar" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/foo.bar" /></url><url><loc>http://localhost:3000/fr/hidden-path-but-in-sitemap</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/hidden-path-but-in-sitemap" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/hidden-path-but-in-sitemap" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/hidden-path-but-in-sitemap" /></url><url><loc>http://localhost:3000/fr/hide-me</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/hide-me" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/hide-me" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/hide-me" /></url><url><loc>http://localhost:3000/fr/new-page</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/new-page" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/new-page" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/new-page" /></url><url><loc>http://localhost:3000/fr/prerender</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender" /></url><url><loc>http://localhost:3000/fr/prerender-video</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/prerender-video" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/prerender-video" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/prerender-video" /></url><url><loc>http://localhost:3000/posts/foo</loc><xhtml:link rel="alternate" href="http://localhost:3000/posts/foo" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/posts/foo" hreflang="en" /></url><url><loc>http://localhost:3000/users-lazy/1</loc><xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/1" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/1" hreflang="en" /></url><url><loc>http://localhost:3000/users-lazy/2</loc><xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/2" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/2" hreflang="en" /></url><url><loc>http://localhost:3000/users-lazy/3</loc><xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/3" hreflang="x-default" /><xhtml:link rel="alternate" href="http://localhost:3000/users-lazy/3" hreflang="en" /></url><url><loc>http://localhost:3000/fr/api/foo</loc><xhtml:link rel="alternate" hreflang="en" href="http://localhost:3000/api/foo" /><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3000/fr/api/foo" /><xhtml:link rel="alternate" hreflang="x-default" href="http://localhost:3000/api/foo" /></url></urlset><!-- XML Sitemap generated by @nuxtjs/sitemap v6.0.0-beta.1 at 2024-08-09T07:15:57.139Z -->

Copy link

vercel bot commented Aug 9, 2024

@Henvy-Mango is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

@harlan-zw
Copy link
Collaborator

Thank you!

@harlan-zw harlan-zw merged commit f919726 into nuxt-modules:main Aug 12, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants