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

Turn off minify for release bundle #21

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

ds300
Copy link
Contributor

@ds300 ds300 commented Jun 20, 2024

I found it quite difficult to debug and patch the signal-polyfill package while working on this PR because this package is shipped to npm as a minified bundle. Since this is a not-for-production prototype and debugging/understanding it is one of the main purposes of it right now, maybe it makes sense to switch off minification?

Before:
image

After:
image

@NullVoxPopuli
Copy link
Contributor

Thank you!

Yes, minification in an app concern, not a library one. (Or used traditionally via script tags or esm.sh imports)

We can use export conditions to have both, but that's a level of polish i don't think we're ready for.

@NullVoxPopuli NullVoxPopuli merged commit 138e90f into proposal-signals:main Jun 24, 2024
3 checks passed
@github-actions github-actions bot mentioned this pull request Jun 24, 2024
@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants