Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Feature: Partial dependency evaluation. #2

Open
ryan-roemer opened this issue Feb 28, 2020 · 0 comments
Open

Feature: Partial dependency evaluation. #2

ryan-roemer opened this issue Feb 28, 2020 · 0 comments
Labels
feature New feature or request

Comments

@ryan-roemer
Copy link
Member

ryan-roemer commented Feb 28, 2020

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.

@ryan-roemer ryan-roemer added the feature New feature or request label Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant