Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

Unsafe code in gulp-module-resolver #4

Description

@tibawatanabe

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[x] Feature request
[ ] Documentation issue or request

Current behavior

The current implementation of createRelativePathMap from gulp-module-resolver is unsafe and does not account for multiple paths specified in tsconfig.

Expected behavior

The plugin should be safe and should resolve multiple paths to be TS complied.

Minimal reproduction of the problem with instructions

Adding an alias with an empty array in tsconfig crashes the gulp-build pipe.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions