How to remove webpack:// from sources in the browser
问题 I am using this webpack template for a Vue.JS website. I deployed the app and it works well, but if you go to developer tools > Sources in Chrome, then under webpack:// you can see the components and the whole code. Is there a way to get rid of that? Or is this usual if you use webpack? Thank you. 回答1: That's because webpack generates source maps which show the original source code and structure. For the webpack template you are looking for the config/index.js file, and in order to skip the