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.

Not working with webpack 5

See original GitHub issue

After upgrading webpack to 5.0.0, there is no change in bundle size.

Results:
Test 01_core_treeshake: webpack: 560.60K => 560.60K (-0.00, 0%)
Test 02_example_treeshake: webpack: 609.38K => 609.38K (-0.00, 0%)
Test 03_core_all: webpack: 641.00K => 641.00K (-0.00, 0%)
Test 04_example_all: webpack: 2.70M => 2.70M (-0.00, 0%)
Test 05_example_SubsurfaceScatteringShader: webpack: 562.43K => 562.43K (-0.00, 0%)

https://github.com/yushijinhun/three-minifier/runs/1237770797#step:6:124

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
yushijinhuncommented, Feb 20, 2021

@danny-laa I published 0.3.0-alpha.0. You can use this version.

3reactions
edunadcommented, Dec 10, 2020

Love this package so much, I hope you can get v5 working 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack 5 Issues | Documentation
While setting up a new web3 project from scratch, you might face multiple issues with webpack 5. This issue is caused due to...
Read more >
To v5 from v4
This guide aims to help you migrating to webpack 5 when using webpack directly. If you are using a higher level tool to...
Read more >
Upgrade to Webpack 5 failing - node.js
You need to fix scripts/start.js file. There is a line in this file: const compiler = createCompiler(webpack, config, appName, urls, ...
Read more >
Webpack 5 errors | ImmutableX Documentation
The reason for this error is that create-react-app uses a version of webpack greater than 5, which, unlike versions < 5, does not...
Read more >
Problem: Live reloading isn't refreshing for Webpack 5
While in the terminal I noticed things updating, the page wouldn't automatically refresh. This turns out to be a small bug with how...
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