https://gitlab.com/jazoom-web/nuxt-minimal
yarn
npm run build
.js.map files created for each .js file
no .js.map files
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?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6879">#c6879</a>)</em></sub></div>