question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

addBanner: true breaks source maps when using UglifyJsPlugin

See original GitHub issue

If addBanner: false, or if I skip uglifying, the source map is fine, but if I do both, the source map breaks. Any idea how to fix this? Do you think this is a bug in this package or in UglifyJsPlugin?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
xz64commented, Apr 25, 2018

Hey just wanted to give you an update: I am planning on releasing a new major version which will fix the issue

0reactions
SeanHayescommented, Aug 28, 2018

Everything seems to be working in v2.0.0-alpha.7, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make webpack's uglifyjs plugin not break sass's ...
The other issue is that libsass generates wrong source map, when outputStyle is compressed . And outputStyle is compressed, when you don't ...
Read more >
uglifyjs-webpack-plugin - npm
Start using uglifyjs-webpack-plugin in your project by running `npm i ... Use source maps to map error message locations to modules (this ...
Read more >
API - esbuild
The transform API can take the following options: Simple options: Define; Format; Loader; Minify; Platform; Sourcemap; Target. Advanced options:.
Read more >
platform/external/chromium-trace
BaseConfig(_CHROME_BINARIES_CONFIG, writable=True) for channel in ... +Use of this source code is governed by a BSD-style license that can be +found in the ......
Read more >
webpack/webpack - Gitter
I'm using oob react-flexbox-grid. David Silva ... sourceMap!./src/vendor/sass/paper. ... ExtractTextPlugin apparently breaks his stuff rn.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found