Disable Source Maps in Production Vue.js App Builds

— 1 minute read


There's a quick config that we can add to the vue.config.js file to disable source maps from being generated when producing production builds.

We simply add productionSourceMap: false to the config. Our file should look something like this:

// vue.config.js
module.exports = {
...
productionSourceMap: false,
...
};

It's as simple as that!

Filed under