From 59e48329d00cd91f6836cd91bcb8aca92acac1f6 Mon Sep 17 00:00:00 2001 From: Jan Krems Date: Sun, 1 Oct 2017 10:31:04 -0700 Subject: module: Set dynamic import callback This is an initial implementation to support dynamic import in both scripts and modules. It's off by default since support for dynamic import is still flagged in V8. Without setting the V8 flag, this code won't be executed. This initial version does not support importing into vm contexts. PR-URL: https://github.com/nodejs/node/pull/15713 Reviewed-By: Timothy Gu Reviewed-By: Bradley Farias --- .eslintignore | 1 + 1 file changed, 1 insertion(+) (limited to '.eslintignore') diff --git a/.eslintignore b/.eslintignore index dc4e023866f..669c27ce89b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,6 +2,7 @@ lib/internal/v8.js lib/internal/v8_prof_polyfill.js lib/punycode.js test/addons/??_* +test/es-module/test-esm-dynamic-import.js test/fixtures test/message/esm_display_syntax_error.mjs tools/eslint -- cgit v1.2.3