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

chore: update template to use Remix Vite and latest Hydrogen #4

Merged

Conversation

serhalp
Copy link
Contributor

@serhalp serhalp commented Aug 28, 2024

Description

Remix sites can either use Remix Vite (now the default) or the Remix "Classic Compiler".

Hydrogen sites have supported Remix Vite since ~April 2024 and this is now the default for Hydrogen sites.

This updates the Netlify template to use Remix Vite.

It also updates it to the latest version of Hydrogen and pulls in upstream updates to the core Hydrogen template.

Here is a deploy preview I created manually while linked to netlify/remix-compute#441: https://66d9c7bf9f3d281e3f257317--hydrogen-remix-template.netlify.app/.

To review this PR, you can ignore app/routes, app/components, app/styles, app/graphql, and app/lib. Those are untouched from the base Hydrogen template.

To do

serhalp and others added 4 commits August 28, 2024 15:17
Remix sites can either use Remix Vite (now the default) or the Remix
"Classic Compiler".

Hydrogen sites have supported Remix Vite since ~April 2024 and this is
now the default for Hydrogen sites.

This updates the Netlify template to use Remix Vite.

It also updates it to the latest version of Hydrogen and pulls in
upstream updates to the core Hydrogen template.
@serhalp serhalp changed the title chore: update template to use Remix Vite chore: update template to use Remix Vite and latest Hydrogen Sep 5, 2024
"build": "remix build",
"dev": "remix dev --manual -c \"netlify dev\"",
"preview": "netlify serve",
"build": "remix vite:build",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can't use shopify hydrogen build here because of Shopify/hydrogen#2497.

@serhalp serhalp marked this pull request as ready for review September 5, 2024 14:58
@serhalp serhalp merged commit 35078f3 into main Sep 5, 2024
4 checks passed
@serhalp serhalp deleted the serhalp/frp-1268-update-hydrogen-template-to-use-remix-vite branch September 5, 2024 19:50
@serhalp serhalp removed the request for review from orinokai September 5, 2024 19:50
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