Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: released client sourcemaps don't have correct prefix (no /_nuxt/) (
#155) In c71d848 I've broken release of client source maps by not setting `config.devtool = 'source-map'` for the client build. I've missed the condition that returns early on client build. In 8e3e4d1 I've also attempted to configure urlPrefix separately for client and server but I've missed the fact that client and server source maps were not uploaded separately but there was only one upload on building server (which builds second). So the prefix that was actually used was the server one. Fix by going to previous logic of setting urlPrefix once (at the expense of it being incorrect on the server). To fix that properly, we would need to make two separate releases but that is non-trivial since releasing can include source maps (client, server) and potentially also commits. So the fix would have to be fairly elaborate to only release client in one pass and potentially everything else on server build (assuming there will be one).
- Loading branch information