Skip to content

Do not require react nor react-dom #59

Closed
@ehmicky

Description

@ehmicky

We currently use require('next') to check whether the website is using Next.js.
However, this requires react and react-dom to also be available.
Doing require('next/package.json') instead should solve this. It's also faster.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions