d8865d040a
### What? Fix one assertion about CSS files emitted by turbopack. ### Why? Turbopack generates `/_next/static/chunks/2225ce._.css`, which does not match the regex. Note that it has `._.css`. The previous assertions match on `[^.]+\.css`, which does not support two dots in the file name. I tried `/<link rel="stylesheet" href=".+\.css(\?v=\d+)?"/g`, but it captured 3 `link` tags at once. So I used `/<link rel="stylesheet" href="[^<]+\.css(\?v=\d+)?"/g`. ### How? Closes PACK-2413 |
||
---|---|---|
.. | ||
app | ||
pages/css-modules | ||
styles | ||
index.test.ts | ||
mdx-components.jsx | ||
middleware.js | ||
next.config.js |