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:
- Solution to build error in Vue project (error in static/JS)/vendor.xxxxx.js from UglifyJs)
- [Solved] webpack Package Error: ERROR in multi ./src/main.js ./dist/bundle.js Module not found: Error: Can‘t resolv
- JS to find the last character of the string and remove it
- [Chrome]: DevTools failed to load source map… (How to Solve)
- vue.config.js build Package UglifyJsPlugin to clear console and print console.log Error: `warnings` is not a supported option
- [Solved] Nuxt Import qrcodejs2.js / QRCode.js Error: document is not defined
- [Solved] Vue-cli3 running or packaging error: JS memory overflow
- [Solution] VUE.js Load a local image with parameters in the script
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- [Solved] devTools failed to load sourcemap: Could not parse content for map
- Module not found: Error: Can‘t resolve ‘core-js/modules/es.promise.js‘ in
- [Solved] vue.esm.js?efeb:591 [Vue warn]: Error in event handler for “click“: “TypeError: Cannot read property
- [Solved] node.js Upload Files Error: Multipart: boundary not found multer
- [Solved] Vue item packaging error: Failed to load resource: the server responded with a status of 404 (Not Found)
- Vue Import three.JS error: Unexpected token [How to Solve]
- The solution to the failure of HTML introducing external JS
- Vue JS import font.css error [How to Solve]
- [Solved] Element form method resetfields() error: vue.runtime.esm.js?2b0e:1888 TypeError: Cannot read properties of undefined (reading ‘indexOf’)
- [Solved] Turf.js error: uncaught (in promise) error: the solution of invalid unit
- [vite] Failed to parse source for import analysis because the content contains invalid JS syntax.