mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Instead of just limiting the transform to any file within the app dir, we now restrict it to any page, default, or layout file in the app dir. This avoids having the transform applied to random modules. The inserted value would not have been used by anything.
6 lines
155 B
TypeScript
6 lines
155 B
TypeScript
import * as config from './config'
|
|
|
|
export default function NotActualInstantConfig() {
|
|
return <pre data-testid="config">{JSON.stringify(config)}</pre>
|
|
}
|