Ensure changes to the input CSS file result in a full rebuild (#14744)
Fixes #14726 I think we broke this when we changed core so that it can handle `@import "…"` in CSS.
This commit is contained in:
parent
18cb3c60e6
commit
19de55792f
3 changed files with 25 additions and 6 deletions
|
|
@ -210,6 +210,23 @@ describe.each([
|
|||
}
|
||||
`,
|
||||
])
|
||||
|
||||
await fs.write(
|
||||
'project-a/src/index.css',
|
||||
css`
|
||||
@import 'tailwindcss/utilities';
|
||||
@theme {
|
||||
--color-*: initial;
|
||||
}
|
||||
`,
|
||||
)
|
||||
|
||||
await fs.expectFileToContain('project-a/dist/out.css', [
|
||||
css`
|
||||
:root {
|
||||
}
|
||||
`,
|
||||
])
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue