Conversation
|
Looks like the ESM errors are fixed in vitejs/vite#5693 |
|
Seeing E2E tests fail now: https://github.com/Shopify/hydrogen/runs/4226509082?check_suite_focus=true Seeing this locally when running the dev server: Do we need to do something special to denote our exports as ESM? |
|
@jplhomer The dev project works for me. Can you try with --force, or reinstalling node_modules? 🤔 The issue we have with the e2e for the worker is likely related to this line: https://github.com/vitejs/vite/blob/96664469e49d44f8c628bf0310bdd03d1c4556de/packages/vite/src/node/plugins/ssrRequireHook.ts#L50 That require ends up in our built |
|
After the |
deeb01f to
c27740f
Compare
c27740f to
99e71fd
Compare
|
@jplhomer all green! 🟢 🎉 |
|
DOPE. Thanks for all of your work @frandiox (and Vite team, of course). |
|
@jplhomer 2.7.0 released and looks like it works well :) Should we merge this? |
|
Let's do it! Will merge when CI passes. |
* Refine tailwind classes for sort UI * Update SortFilter.tsx
This PR is a test suite against Vite 2.7 betas to ensure Hydrogen is compatible with the latest SSR changes.
Stackblitz: https://stackblitz.com/edit/hydrogen-da5gft?file=package.json