Sourcemaps suddenly no longer created with Nuxt upgrade from 1.0.0-rc11
[issue link]Version
Reproduction link
https://gitlab.com/jazoom-web/nuxt-minimal
Steps to reproduce
yarn
npm run build
What is expected ?
.js.map files created for each .js file
What is actually happening?
no .js.map files
Additional comments?
Unfortunately I only just found out about this now. In multiple projects sourcemaps were no longer created after the update from 1.0.0-rc11 to 1.3.0 a couple of months ago. Strangely, even when installing 1.0.0-rc11 now sourcemaps still are not created.
I have searched through Nuxt’s documentation and found the following code mentioned, but even adding that doesn’t force sourcemap creation.
if (isClient) {
config.devtool = 'eval-source-map'; // create sourcemaps
}
What happened after 1.0.0-rc11 to stop sourcemap creation and how do I get them back?