L
L
lavezzi12016-06-20 21:14:44
JavaScript
lavezzi1, 2016-06-20 21:14:44

Webpack.optimize.UglifyJsPlugin what are the options?

The problem is the following, I use Prism js to format the code, but since I use vue js and vue-router (SPA).
html code is in js, and after minification in production, this very formatted code is displayed in one heap, that is, in one line. How can I disable the removal of spaces from the minification through the options or solve the problem in another way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2016-06-20
@AMar4enko

webpack.github.io/docs/list-of-plugins.html#uglify...
uglifyjs option --beautify

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question