-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
'create-hydrogen-app': patch | ||
--- | ||
|
||
If the demo store e2e tests are sometimes failing, update your `vite.config.js` to make sure that tests only execute on one thread: | ||
|
||
```diff | ||
export default defineConfig({ | ||
plugins: [hydrogen()], | ||
resolve: { | ||
alias: [{find: /^~\/(.*)/, replacement: '/src/$1'}], | ||
}, | ||
optimizeDeps: { | ||
include: ['@headlessui/react', 'clsx', 'react-use', 'typographic-base'], | ||
}, | ||
test: { | ||
globals: true, | ||
testTimeout: 10000, | ||
hookTimeout: 10000, | ||
+ maxThreads: 1, | ||
+ minThreads: 1, | ||
}, | ||
}); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/hydrogen': patch | ||
--- | ||
|
||
An issue with previewing hydrogen in production has been fixed. Make sure that you upgrade both `@shopify/cli` and `@shopify/cli-hydrogen` to 3.12.0. |