Skip to content

Module fails to resolve relative path @3.5.2 #86

@vortrefflich

Description

@vortrefflich

Hello team,

I have been used your module @3.5.1.

Recently, I noticed there were errors while resolving relative paths in webpack for recently updated modules.

I tested other modules but only with your latest module (3.5.2), the errors were occurred.

Environment=================
ts-loader: ^9.2.3
typescript: ^4.3.2
webpack: ^5.64.2

Result=====================

  1. With [email protected]: FAIL
  2. With [email protected]: SUCCESS
    =========================

Error=======================
Module not found: Error: Can't resolve './RELATIVE_DIR/index.ts' in 'ABSOLUTE_MY_REPO_PATH'

...Field 'browser' doesn't contain a valid alias configuration ...

============================

I hove this report help you and other developers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions