Skip to content

Conversation

@jitendravyas
Copy link
Contributor

Add binary file detection to prevent atomizer-plugins from processing binary files (images, fonts, etc.) which can cause corruption issues during webpack/vite builds.

Skipped extensions include:

  • Images: .png, .jpg, .gif, .webp, .ico, .svg, etc.
  • Fonts: .woff, .woff2, .ttf, .otf, .eot
  • Media: .mp3, .mp4, .wav, .ogg, etc.
  • Archives: .zip, .tar, .gz, .rar
  • Binary: .exe, .dll, .so, .dylib
  • Build artifacts: .map, .lock

Fixes #609

I confirm that this contribution is made under a BSD license and that I have the authority necessary to make this contribution on behalf of its copyright owner.


Description

Describe your changes in detail.

Motivation and Context

Why is this change required? What problem does it solve?

How Has This Been Tested?

Please describe in detail how you tested your changes. Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

Review the following points, and put an x in all the boxes that apply. If you’re unsure about any of these, don’t hesitate to ask. We’re here to help!

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

Add binary file detection to prevent atomizer-plugins from
processing binary files (images, fonts, etc.) which can
cause corruption issues during webpack/vite builds.

Skipped extensions include:
- Images: .png, .jpg, .gif, .webp, .ico, .svg, etc.
- Fonts: .woff, .woff2, .ttf, .otf, .eot
- Media: .mp3, .mp4, .wav, .ogg, etc.
- Archives: .zip, .tar, .gz, .rar
- Binary: .exe, .dll, .so, .dylib
- Build artifacts: .map, .lock

Fixes acss-io#609
@changeset-bot
Copy link

changeset-bot bot commented Jan 15, 2026

⚠️ No Changeset found

Latest commit: f868515

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jan 15, 2026

@claude is attempting to deploy a commit to the Atomizer Team on Vercel.

A member of the Team first needs to authorize it.

@redonkulus
Copy link
Contributor

Prettier is failing, can you fix the format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Webpack atomizer-plugins: images are broken after webpack build

3 participants