Skip to content

inlineRequires and experimentalImportSupport #640

@Bardiamist

Description

@Bardiamist

Do you want to request a feature or report a bug?
Question

What is the current behavior?
Mystery

What is the expected behavior?
It should be well documented

Hello, I really need to understund how inlineRequires and experimentalImportSupport works but can't find documentation abount it. Where I can read about it? Or can somebode to describe how it works?

Is inlineRequires automatically doing next?

let VeryExpensive = null;
if (VeryExpensive == null) {
  VeryExpensive = require('./VeryExpensive').default;
}

Or steel need to write that?

Is inlineRequires working for native modules?
How it detecting when need to import file/init native module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions