mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This should really be an error, but let's start with making it a warning the only missing piece will be somehow showing the line/col information of the offending reference, this is currently very hard to figure out <img width="1265" height="428" alt="Bildschirmfoto 2026-01-28 um 12 32 17" src="https://github.com/user-attachments/assets/80e48fa8-a021-4ca2-a966-26164c42b1dd" />
6 lines
94 B
JavaScript
6 lines
94 B
JavaScript
import path from 'path'
|
|
|
|
export default function (f) {
|
|
return path.join(process.cwd(), f)
|
|
}
|