Skip to content

Enabling enhanced-resolve Causes Errors #1507

@neurolag

Description

@neurolag

Expected Behaviour

Running webpack using ts-loader with enhanced-resolve enabled causes errors as described in #1504 and #1505.

Actual Behaviour

webpack should still run properly with ts-loader.

Steps to Reproduce the Problem

  1. Install [email protected]
  2. Install spica
  3. Import setTimeout from spica/global
  4. Try to compile the module using webpack with ts-loader
  5. Take note that the compilation fails

Location of a Minimal Repository that Demonstrates the Issue.

Thanks a lot to @falsandtru for providing the demonstrations!

This issue is related to #1506, #1504 and #1505
The error has been introduced in #1503

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