Sometimes, we want to disable source maps in production for a Vue.js app.
In this article, we’ll look at how to disable source maps in production for a Vue.js app.
How to disable source maps in production for a Vue.js app?
To disable source maps in production for a Vue.js app, we can set the productionSourceMap
option to false
in vue.config.js
.
For instance, we write
module.exports = {
productionSourceMap: false,
};
to set productionSourceMap
to false
.
Conclusion
To disable source maps in production for a Vue.js app, we can set the productionSourceMap
option to false
in vue.config.js
.