rsnext/test/e2e/app-dir/rsc-basic/components/random-module-instance.js
Jiachi Liu 3f8f72bf9b
Remove internal client next api detection (#40646)
Follow up for https://github.com/vercel/next.js/pull/40415

Remove internal next client api determination, fully relying on `'client'` directive.
Change `.client.js` extension to `.js ` in tests, remove legacy / unused test files
2022-09-18 09:36:10 +00:00

7 lines
152 B
JavaScript

'client'
import { random } from 'random-module-instance'
export default function () {
return `node_modules instance from client module ${random}`
}