Open d0cm0d opened 5 years ago
If you set a debugger in the js part of your .vue files, uglifyjs removes it.
The solution for this problem is very simple an I suggest it for the next release. You just have to change line #164 in renderer.js from this:
let { code } = uglify.minify(compiledObject.compiled, { mangle: false });
to this:
let { code } = uglify.minify(compiledObject.compiled, { mangle: false, compress: { drop_debugger: false }});
can you please try this again with the new webpack-renderer
https://github.com/express-vue/express-vue#migration-to-webpack-renderer
If you set a debugger in the js part of your .vue files, uglifyjs removes it.
The solution for this problem is very simple an I suggest it for the next release. You just have to change line #164 in renderer.js from this:
to this: