Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Overlapping content in sourcemaps when using builder arithmetic. #843

Description

@CxRes

SJS-Builder 0.15.36

Do something like this:

builder.bundle('app/**/* - [app/**/*]', 'dependencies.min.js', { minify: true, sourceMaps: true });
builder.bundle('app/bootstrap - dependencies.min.js', 'app.min.js', { minify: true, sourceMaps: true });

Both source maps (dependencies.min.js.map and app.min.js.map) generated are ballpark the same size as the one that would have been generated had I not separated the deps. Upon a casual inspection, you can see a reference to all dependency files in app.min.js.map as well.

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