browserify / browserify/bundle-collapser

two different relative paths have same ID

Open
#20 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
191
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Say I have a node module `a` that has `require("../compiled/templates");` along with a node module `b` that has its own `require("../compiled/templates");` - both pointing to their own respective `templates.js` file. When I use this on bundle-collapser, I get the same ID for both files, even though they're different files (i.e. they should have two different IDs). This leads me to believe that the ID generated is based off the uniqueness of the string, and not the full absolute path of the file that is required.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.