Sitemap could not be found after deployment to Firebase functions

yuanwei92
0
yuanwei92
commented a year ago

Hi, the sitemap module works perfectly in local production build. However after I deployed it to Firebase functions, the page could not be found. I wonder what could be the issue? The dist files were hosted on Firebase hosting.

nuxt.config.js

sitemap: {
  hostname: 'https://shopsavee.com',
  routes: []
},
build: {
  publicPath: '/',
  vendor: ['babel-polyfill'],
  extractCSS: true,
  babel: {
    presets: [['@babel/preset-env']],
    plugins: [
      '@babel/plugin-transform-runtime',
      '@babel/plugin-syntax-dynamic-import'
    ]
  },
}
0
Informations
Question โ€ข Unresolved
#c33 - Created a year ago