8000 optional dependencies when using es6 import/export · Issue #7713 · webpack/webpack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
optional dependencies when using es6 import/export #7713
Closed
@RaananW

Description

@RaananW

I am trying to define optional externals in an es6 project.
The feature exists - #339 , but there is no flag that I can set in the (externals) configuration to make a dependency optional. Digging into the code I found that optional is a flag checking for reasons, and if every reason's dependency is marked as optional. But I can't seem to find where it is defined.

What would be the best way to define an external dependency optional? Have I missed something and it is possible doing it using configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0