Stuart Ashworth - Developer, Consultant & Trainer · Oct 9, 2020
Disable Source Maps in Production Vue.js App Builds
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
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!
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.