Home  >  Q&A  >  body text

javascript - How does webpack remove newlines during compression?

After packaging, I found that the packaged code had line breaks, and I wanted to remove them. However, I found that UglifyJsPlugin did not provide this interface, and HtmlWebpackPlugin cannot be used.

PHP中文网PHP中文网2692 days ago908

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-06-05 11:11:14

    • yuicompressor

    • uglify-js

    reply
    0
  • Cancelreply