Commit 427e5348 authored by Giorgos Ntemiris's avatar Giorgos Ntemiris Committed by Rich Trott
Browse files

module: add warning when import,export is detected in CJS context

This will allow users to know how to change their project to support
ES modules.

PR-URL: https://github.com/nodejs/node/pull/28950


Reviewed-By: default avatarBradley Farias <bradley.meck@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarGuy Bedford <guybedford@gmail.com>
parent a49b20d3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment