Fix infinite loop in setup

This commit is contained in:
MartinBraquet
2026-03-01 19:47:24 +01:00
parent d2195d7c16
commit dd239f7b30
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ First, install the dependencies:
```sh
yarn install
yarn setup // to install the correct next config in the .react-email folder, with the right aliases
```
Then, run the development server:

View File

@@ -6,9 +6,9 @@
"build": "tsc -b",
"predev": "cp next.config.js .react-email/next.config.js",
"dev": "email dev --port 3001",
"postinstall": "echo 'Setting up email dev, stop the process when it says that react email is ready and then run yarn dev' && yarn dev",
"lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix",
"setup": "echo 'Setting up email dev, stop the process when it says that react email is ready and then run yarn dev' && yarn dev",
"test": "jest --config jest.config.ts --passWithNoTests",
"typecheck": "npx tsc --noEmit"
},