- Clone this repository
- Run
pnpm install - Run
pnpm dev - Visit
http://localhost:4321/content- A debugger on the page shows that the CSS include
background-color:rgb(255,150,0);for the paragraph with the orange background as expected.
- A debugger on the page shows that the CSS include
- Click the Visit the test page link
- The same debugger on the page shows that the CSS still include
background-color:rgb(255,150,0);even though the test page does not include the component that uses that CSS.
- The same debugger on the page shows that the CSS still include
- Close that browser tab and kill the dev server.
- Run
pnpm devagain. - Visit
http://localhost:4321/testfirst.- The debugger on the page shows that the CSS does not include
background-color:rgb(255,150,0);as expected.
- The debugger on the page shows that the CSS does not include
HiDeoo/astro-6-dev-server-css-repro
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|