Solution to some map files in JS folder after Vue packaging (remove the map. JS file)

Solution to some map files in JS folder after Vue packaging (remove map.js file)

1. Enter the directory under the project: project package/config/index. JS
find productionsourcemap

 /*
   Source Maps
   */
    productionSourceMap: true,  // Change true to false on this side
    // https://webpack.js.org/configuration/devtool/#production
    devtool: '#source-map',

Productionsourcemap: true,// change the true here to false


Read More: