Skip to content

modules not loading when using cache-loader #148

@jauniuse

Description

@jauniuse

I'm submitting a bug report

  • Library Version:
    3.0.0

Please tell us about your environment:

  • Operating System:
    Windows 10

  • Node Version:
    6.11.1

  • NPM Version:
    3.10.10
  • JSPM OR Webpack AND Version
    webpack 4.4.1
  • Browser:
    all
  • Language:
    TypeScript 2.6

Current behavior:

I want to use cache-loader in order to speed up webpack builds. As soon as I try to use cache-loader with ts-loader, during runtime modules defined with PLATFORM.ModuleName('XXX') cannot be resolved resulting in error Unable to find module with XXX.

Expected behavior:
Modules defined with PLATFORM.ModuleName('XXX') should be resolved during runtime when using cache-loader and should not result in error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions