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.

Breaking webpack production builds

See original GitHub issue

Uglify does not support let statements. Due to the recent release many webpack production builds are failing because of this.

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
dashedcommented, May 23, 2017

I released v1.0.1 with var switched out in favour of let and const.

Hopefully this shouldn’t break webpack builds.

5reactions
lourdcommented, May 23, 2017

I just published 1.1.2 of react-side-effect rolling back the shallowequal dependency to resolve the broken builds.

No good deed goes unpunished, right? 😅 Thanks for prompt reply @dashed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Production | webpack
In this guide, we'll dive into some of the best practices and utilities for building a production site or application.
Read more >
production build breaks with optimization, if webpack plugin ...
The error occurs, while using a webpack plugin that creates a less file inside the production build. If optimization is false, it works....
Read more >
Webpack 5 production mode result in a broken app
I had a similar issue, broken production build with no errors, but the code did not enter the main entry-point. Stumped for hours....
Read more >
Managing Dev and Production Builds with Webpack
Managing Dev and Production Builds with Webpack. January 31, 2018 ... This of course will break if there is no drupalSettings object.
Read more >
How to boost the speed of your webpack build?
Use Speed Measure Plugin to debug webpack build time · Track your build time evolution to detect big evolution before merge · Follow...
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