-
Use case:
Non-production builds (works)With a non-production build, this is the exported path map:
Production builds (fails)However for production builds we add an assetsPrefix so the export path map ends like so:
The first (regular) entry is fine, the second on (the dynamic one) fails with:
Any idea how this can be done? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, the |
Beta Was this translation helpful? Give feedback.
-
I had to learn this the hard way. I've created Thanks! |
Beta Was this translation helpful? Give feedback.
Hi, the
assetPrefix
isn't meant to be manually added to each path in theexportPathMap
and is only meant for pointing the bundles/assets URLs to the correct location. If you want your pages nested you can add your export paths like normal (without theassetPrefix
added to them) and then once export is complete deploy the contents of theout
directory to the subdirectory you want it served under