Skip to content

inlineRequires and experimentalImportSupport #640

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions