From d93127d452f1209f77011ebe2a6a4b7f3681d725 Mon Sep 17 00:00:00 2001 From: jerrydark Date: Sun, 6 Oct 2019 19:38:43 -0400 Subject: [PATCH] added specifier resolution --- Gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index b67a2db1..529eee34 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -340,18 +340,18 @@ module.exports = function (grunt) { generateNodeIndex: { command: [ "echo '\n--- Regenerating node index ---'", - "node --experimental-modules --no-warnings --no-deprecation src/node/config/scripts/generateNodeIndex.mjs", + "node --experimental-modules --no-warnings --no-deprecation --es-module-specifier-resolution=node src/node/config/scripts/generateNodeIndex.mjs", "echo '--- Node index generated. ---\n'" ].join(";"), }, opTests: { - command: "node --experimental-modules --no-warnings --no-deprecation tests/operations/index.mjs" + command: "node --experimental-modules --no-warnings --no-deprecation --es-module-specifier-resolution=node tests/operations/index.mjs" }, browserTests: { command: "./node_modules/.bin/nightwatch --env prod" }, nodeTests: { - command: "node --experimental-modules --no-warnings --no-deprecation tests/node/index.mjs" + command: "node --experimental-modules --no-warnings --no-deprecation --es-module-specifier-resolution=node tests/node/index.mjs" }, setupNodeConsumers: { command: [