Improve multi-root @config
linking
#4899
Annotations
4 errors
upgrade/index.test.ts > multiple CSS roots that resolve to the same Tailwind config file requires manual intervention:
integrations/upgrade/index.test.ts#L1699
Error: Snapshot `multiple CSS roots that resolve to the same Tailwind config file requires manual intervention 1` mismatched
- Expected
+ Received
"Error: Command failed: npx @tailwindcss/upgrade --force
≈ tailwindcss
│ No input stylesheets provided. Searching for CSS files in the current directory and its subdirectories…
- │ Linked `./tailwind.config.ts` to `./src/root.1.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.1.css`
- │ Linked `./tailwind.config.ts` to `./src/root.3.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.3.css`
- │ Linked `./tailwind.config.ts` to `./src/root.4.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.4.css`
- │ Linked `./tailwind.config.ts` to `./src/root.5/tailwind.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.5\tailwind.css`
│ You have multiple stylesheets that do not have an `@config`.
│ Please add a `@config "…";` referencing the correct Tailwind config file to:
- │ - ./src/root.1.css
+ │ - .\src\root.1.css
- │ - ./src/root.3.css
+ │ - .\src\root.3.css
- │ - ./src/root.4.css
+ │ - .\src\root.4.css
- │ - ./src/root.5/tailwind.css
+ │ - .\src\root.5\tailwind.css
"
❯ upgrade/index.test.ts:1699:20
❯ utils.ts:446:14
|
upgrade/index.test.ts > multiple CSS roots that resolve to the same Tailwind config file requires manual intervention:
integrations/upgrade/index.test.ts#L1699
Error: Snapshot `multiple CSS roots that resolve to the same Tailwind config file requires manual intervention 2` mismatched
- Expected
+ Received
"Error: Command failed: npx @tailwindcss/upgrade --force
≈ tailwindcss
│ No input stylesheets provided. Searching for CSS files in the current directory and its subdirectories…
- │ Linked `./tailwind.config.ts` to `./src/root.1.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.1.css`
- │ Linked `./tailwind.config.ts` to `./src/root.3.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.3.css`
- │ Linked `./tailwind.config.ts` to `./src/root.4.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.4.css`
- │ Linked `./tailwind.config.ts` to `./src/root.5/tailwind.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.5\tailwind.css`
│ You have multiple stylesheets that do not have an `@config`.
│ Please add a `@config "…";` referencing the correct Tailwind config file to:
- │ - ./src/root.1.css
+ │ - .\src\root.1.css
- │ - ./src/root.3.css
+ │ - .\src\root.3.css
- │ - ./src/root.4.css
+ │ - .\src\root.4.css
- │ - ./src/root.5/tailwind.css
+ │ - .\src\root.5\tailwind.css
"
❯ upgrade/index.test.ts:1699:20
❯ utils.ts:446:14
|
upgrade/index.test.ts > multiple CSS roots that resolve to the same Tailwind config file requires manual intervention:
integrations/upgrade/index.test.ts#L1699
Error: Snapshot `multiple CSS roots that resolve to the same Tailwind config file requires manual intervention 3` mismatched
- Expected
+ Received
"Error: Command failed: npx @tailwindcss/upgrade --force
≈ tailwindcss
│ No input stylesheets provided. Searching for CSS files in the current directory and its subdirectories…
- │ Linked `./tailwind.config.ts` to `./src/root.1.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.1.css`
- │ Linked `./tailwind.config.ts` to `./src/root.3.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.3.css`
- │ Linked `./tailwind.config.ts` to `./src/root.4.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.4.css`
- │ Linked `./tailwind.config.ts` to `./src/root.5/tailwind.css`
+ │ Linked `.\tailwind.config.ts` to `.\src\root.5\tailwind.css`
│ You have multiple stylesheets that do not have an `@config`.
│ Please add a `@config "…";` referencing the correct Tailwind config file to:
- │ - ./src/root.1.css
+ │ - .\src\root.1.css
- │ - ./src/root.3.css
+ │ - .\src\root.3.css
- │ - ./src/root.4.css
+ │ - .\src\root.4.css
- │ - ./src/root.5/tailwind.css
+ │ - .\src\root.5\tailwind.css
"
❯ upgrade/index.test.ts:1699:20
❯ utils.ts:446:14
|
tests (20, windows-latest, false)
Process completed with exit code 1.
|