added specifier resolution

This commit is contained in:
jerrydark 2019-10-06 19:38:43 -04:00
parent d71f3c7103
commit d93127d452

View file

@ -340,18 +340,18 @@ module.exports = function (grunt) {
generateNodeIndex: { generateNodeIndex: {
command: [ command: [
"echo '\n--- Regenerating node index ---'", "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'" "echo '--- Node index generated. ---\n'"
].join(";"), ].join(";"),
}, },
opTests: { 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: { browserTests: {
command: "./node_modules/.bin/nightwatch --env prod" command: "./node_modules/.bin/nightwatch --env prod"
}, },
nodeTests: { 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: { setupNodeConsumers: {
command: [ command: [