mirror of
https://github.com/nodejs/node.git
synced 2025-05-03 02:06:12 +00:00

Use the same approach as a previous PR to include the offending line in the output and underline imports of inexistent exports. PR-URL: https://github.com/nodejs/node/pull/17786 Fixes: https://github.com/nodejs/node/issues/17785 Refs: https://github.com/nodejs/node/pull/17281 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
8 lines
178 B
JavaScript
8 lines
178 B
JavaScript
// Flags: --experimental-modules
|
|
/* eslint-disable no-unused-vars */
|
|
import '../common';
|
|
import {
|
|
foo,
|
|
notfound
|
|
} from '../fixtures/es-module-loaders/module-named-exports';
|