Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Make the best match win #7

Description

@villelahdenvuo

Maybe a bit out of scope and a bit hard to implement, but if we have for example two files:

bundle.js
bundle.js.map

And from hashmark we get:

"replaceMap": {
      "bundle.js": "bundle-e21d86.js",
      "bundle.js.map": "bundle.js-ee7722.map"
}

And we run replaceinfiles it replaces this line in bundle.js: //# sourceMappingURL=bundle.js.map with bundle-e21d86.js not bundle.js-ee7722.map because it contains bundle.js although bundle.js.map is a better match.

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

    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