How to work with build --standalone option?

medmemara
0
medmemara
commented a month ago

I'm using nuxt app with AWS lambda.
lambda only allows about 250MB or less, but my app is bigger than.
so, I'm using build with --standalone option to avoid restriction.

sitemap works when I ran this command without the option.

nuxt-ts build && npm run start

otherwise, sitemap doesn't work.

How to make sitemap work with this option?

0
NicoPennec
2.0k
NicoPennec
commented a month ago

Hi @medmemara

The "build --standalone" is not documented on https://nuxtjs.org.

Can you share a project to reproduce this use case?

When I try with nuxt build --standalone && nuxt start, the sitemap works well on my side.

0
Informations
Question โ€ข Unresolved
#c90 - Created a month ago