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

implement webpack chunks file updating using ast manipulation #12

Merged
merged 12 commits into from
Sep 20, 2024

Conversation

dario-piotrowicz
Copy link
Contributor

this allows us not to have to require the use of the serverMinification: false option
(as we're no longer relying on known variable names)

@vicb
Copy link
Contributor

vicb commented Sep 20, 2024

That's amazing @dario-piotrowicz

Could you please update TODO.md and builder/README.md? (which reminds me that I should remove the URL pkg from there too).

I need to go for 1h, I'll review after that.

Thanks!

@dario-piotrowicz
Copy link
Contributor Author

That's amazing @dario-piotrowicz

Could you please update TODO.md and builder/README.md? (which reminds me that I should remove the URL pkg from there too).

I need to go for 1h, I'll review after that.

Thanks!

Thanks ❤️

TODO.md andbuilder/README.md updated 🙂

I've removed the section regarding updating the config file entirely as I think that that is now totally unnecessary and that we should not bother telling users to set the standalone output there, I hope that's fine 🙂

Copy link
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial notes on all but the actual transform files 😄

builder/package.json Outdated Show resolved Hide resolved
examples/create-next-app/next.config.mjs Outdated Show resolved Hide resolved
Copy link
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work @dario-piotrowicz

builder/package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's awesome.

I added a few minor comments.

dario-piotrowicz and others added 5 commits September 20, 2024 17:51
this allows us not to have to require the use of the `serverMinification: false` option
(as we're no longer relying on known variable names)
Co-authored-by: Pete Bacon Darwin <pbacondarwin@cloudflare.com>
@dario-piotrowicz dario-piotrowicz merged commit 06a41be into main Sep 20, 2024
2 checks passed
@dario-piotrowicz dario-piotrowicz deleted the no-server-minification branch September 20, 2024 18:37
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.

4 participants