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

esbuild respects vite.build.minify option #6222

Merged
merged 11 commits into from
Apr 27, 2023

Conversation

AirBorne04
Copy link
Contributor

Changes

  • now esbuild respects the vite.build.minify option from astro config

Testing

tested with the test projects inside the cloudflare package

Docs

we can add a little info on how to better debug issues during dev
/cc @withastro/maintainers-docs for feedback!

@changeset-bot
Copy link

changeset-bot bot commented Feb 11, 2023

🦋 Changeset detected

Latest commit: 68549ab

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Feb 11, 2023
@AirBorne04 AirBorne04 requested a review from matthewp February 11, 2023 21:58
@matthewp matthewp requested a review from a team February 13, 2023 20:01
@AirBorne04
Copy link
Contributor Author

AirBorne04 commented Feb 16, 2023

hi @withastro/maintainers-docs,
can somebody take a look at this? probably I should add something to the commit?

@yanthomasdev
Copy link
Member

Worth to see what the rest of the team thinks of this regarding docs, this is a very specific behavior that I don't think many users will notice, more like a "behind-the-scenes" thing. Though, I can see value in documenting this in the Client-Side-Scripts page, guessing this impacts scripts as well.

@AirBorne04
Copy link
Contributor Author

Actually this is a debugging option for the cloudflare integration only, without it it is very difficult to get to an error source when running the project no matter if dev or prod. So i was thinking to add a short sentence in the troubleshoot section.

@yanthomasdev
Copy link
Member

Actually this is a debugging option for the cloudflare integration only, without it it is very difficult to get to an error source when running the project no matter if dev or prod. So i was thinking to add a short sentence in the troubleshoot section.

Sorry, didn't notice it was only for the Cloudflare integration. You're right, adding a small explainer about this in the Troubleshooting section is our best option. You can see the pattern we're using for the Lit integration troubleshooting section as a base for documenting this. Shortly after I can come in and review/approve, thanks! 🙌

@matthewp
Copy link
Contributor

matthewp commented Mar 7, 2023

@AirBorne04 are you planning on working on the docs change?

@AirBorne04
Copy link
Contributor Author

@matthewp yes already have it ready just need to push it, will take care of it next week.

@matthewp
Copy link
Contributor

@AirBorne04 ping :)

@sarah11918 sarah11918 removed the request for review from a team April 18, 2023 12:40
@sarah11918
Copy link
Member

Just removed Astro Docs Maintainers since Yan is on this one!

@AirBorne04 AirBorne04 requested a review from a team as a code owner April 18, 2023 14:02
@AirBorne04
Copy link
Contributor Author

@matthewp @Yan-Thomas sorry for the long wait, I was just super busy. I added those two lines of description for the readme. Let me know what you think.

Copy link
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

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

No worries @AirBorne04, thanks! I added a few suggestions for you 🙌

packages/integrations/cloudflare/README.md Outdated Show resolved Hide resolved
packages/integrations/cloudflare/README.md Outdated Show resolved Hide resolved
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Copy link
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

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

Docs LGTM!

@AirBorne04 AirBorne04 merged commit 081b240 into withastro:main Apr 27, 2023
@astrobot-houston astrobot-houston mentioned this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants