mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
bbe7910331
A build that matched a stylesheet through `import.meta.glob` failed with "non-ecmascript placeable asset" naming neither CSS nor the stylesheet, and an import trace listing the page twice. The message now names the offending module; the duplicate came from the glob's virtual module ident having no layer, which is now set to the importer's layer so trace simplification can collapse it (and so the virtual module is distinct per layer). <!-- NEXT_JS_LLM --> Co-authored-by: vercel-fleet[bot] <308483924+vercel-fleet[bot]@users.noreply.github.com> Co-authored-by: Tobias Koppers <1365881+sokra@users.noreply.github.com>