Conversation
|
Oxygen deployed a preview of your
Learn more about Hydrogen's GitHub integration. |
This comment has been minimized.
This comment has been minimized.
| export const REMIX_COMPILER_ERROR_MESSAGE = | ||
| "Classic Remix Compiler projects are no longer supported, please upgrade to Vite by running 'npx shopify hydrogen setup vite'"; | ||
|
|
There was a problem hiding this comment.
Seems an odd place to put this, but I can't find a better alternative...
|
/snapit |
|
🫰✨ Thanks @balazsbajorics! Your snapshots have been published to npm. Test the snapshots by updating your "@shopify/cli-hydrogen": "0.0.0-snapshot-20250519155503",
"@shopify/hydrogen": "0.0.0-snapshot-20250519155503",
"@shopify/remix-oxygen": "0.0.0-snapshot-20250519155503"
|
| "@shopify/cli-hydrogen": patch | ||
| --- | ||
|
|
||
| Removing support for the legacy Remix Compiler. Please upgrade to Vite by running 'npx shopify hydrogen setup vite' |
There was a problem hiding this comment.
This should be a major correct? It will be bundled inside the shopify cli, making them also ship a major.
There was a problem hiding this comment.
ah yes. agreed!
| process.env.HYDROGEN_DISABLE_VIRTUAL_ROUTES = disableVirtualRoutes | ||
| ? 'true' | ||
| : undefined; | ||
|
|
There was a problem hiding this comment.
oh this is leftover. deleting!
|
Wohoooooo! 🔥 |
* drop Remix Compiler from cli * remove classic-remix example * Update package-lock.json * adding changeset * a major bump!! * deleting leftover HYDROGEN_DISABLE_VIRTUAL_ROUTES code

This PR is a preparation step for the React Router 7 migration.
WHY are these changes introduced?
The Hydrogen CLI contains code for supporting the legacy Remix Compiler. As we are about to migrate to React Router 7, this code will imminently start breaking. Since we do not plan to have a dual-track support for both Remix 2 and React Router 7, in preparation of fully switching over to React Router 7, I am removing the Remix Compiler support code.
WHAT is this pull request doing?
legacy-runtimeandclassic-compilerreferences have been deletedclassic-remixexample has been deleted"Classic Remix Compiler projects are no longer supported, please upgrade to Vite by running 'npx shopify hydrogen setup vite'"HOW to test your changes?
Post-merge steps
Checklist