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.

Dedup files from config

See original GitHub issue

Do you want to request a feature or report a bug? Feature

What is the current behavior? bundlesize picks up the same file twice because of how globs work.

dist/vendor-*.js 30Kb
dist/*.js 90Kb 

vendor-*.js will be picked up twice with different sizes.

If this is a feature request, what is motivation or use case for changing the behavior?

I started thinking about this after looking at @tizmagik’s tweet

But sometimes new chunks appear and others get optimized out & not captured by bundlesize. Just gotta keep 👀 on

A way that bundlesize can enable this is by allowing blanket conditions that don’t conflict with specific ones.

dist/vendor-*.js 30Kb
dist/*.js 90Kb 

vendor should only be compared with 30Kb, the rest of the files in dist/* should be compared with 90Kb

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanwilsonperkincommented, Mar 11, 2019

I’d also be interested in helping out with this once there’s time available to review and merge it. We’re interested in using bundlesize, but currently blocked by this because we use chunk hashes which are affected by this issue.

1reaction
siddharthkpcommented, Jan 16, 2019

Hi @marvinchin, the feature still makes sense but I don’t think I’ll be able to review and merge it anytime soon, so I wouldn’t recommend jumping on it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing and enabling Data Deduplication - Microsoft Learn
Select Volumes from File and Storage Services. Click Volumes; Right-click the desired volume and select Configure Data Deduplication.
Read more >
Windows Server deduplication: How it works, how to install
The Deduplication Schedule configuration provides interesting options to customize the background process used to run the data deduplication.
Read more >
Installation and configuration deduplication with Windows ...
The configuration and administration of deduplication is done directly by the Server Manager. 1. Go to File and Storage Services 1, select the...
Read more >
Configuring the client for data deduplication - IBM
Preferences editor. From the IBM Spectrum Protect™ window, click Edit > Client Preferences. Click Deduplication. Select the Enable Deduplication check box.
Read more >
Configure Data Deduplication on Windows Server 2016 File ...
Configure Data Deduplication on Windows Server 2016 File Servers · Select the Data Deduplication role. · Click Next until the Install button is ......
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