mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Turns string decode and parse errors into warnings for extensionless files when in tracing mode. A `require(dynamic)` inside of node_modules can easily end up pulling in extensionless files such as binary files, or `LICENSE`, which would fail the build.
6 lines
82 B
JavaScript
6 lines
82 B
JavaScript
import foo from 'foo'
|
|
|
|
export default function Page() {
|
|
return 'hello ' + foo
|
|
}
|