Feature: Partial dependency evaluation.
Opened this issue · 0 comments
ryan-roemer commented
Research and consider supporting things like:
// Simple string eval
require("a-" + "b");
require(`a-${"b"}`);
// Resolve variable
const aVariable = "my-module";
require(aVariable);
// Evaluate template string + variable
const fromProc = () => import(`${process.env.ENV_VAR}-module`);
... etc.