-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Double slash on build asset #8777
Description
Im building my nuxt project and uploading .nuxt/dist/client files to s3 (+cloudfront). With extractCss: true im facing an issue where the build creates a .css file in some folder and then in the build code, that file is used but with two slashes on the path. So when i run the project i always get a 404 error because the cdn cant find that file there because of the two slashes.
Example:
.nuxt/dist/client/pages/editables/_param/index/[hash].css
But on the .nuxt/dist/server/client.manifest.json and on some other client files, its referenced as 'pages/editables/_param/index//[hash].css'
So the double slash there is making the 404 error. I could fix this with some rule on the cdn but i think that there should be a smarter solution or im making some mistakes.