Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tree shaking when using default import #477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented Dec 6, 2024

This PR adds sideEffect: false to the package json to allow for bundlers to correctly tree shake the library when using the default export e.g.

import { XYZ } from 'pixi-filters';

Before:
image

After:
image

@Zyie Zyie requested a review from bigtimebuddy December 6, 2024 14:29
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.

2 participants