Skip to content

Resource is duplicated when defining transitive extensions #333

@chyt

Description

@chyt

Consider 3 files:

test/a.js:

var a;

test/b.js:

var b;

test/c.js:

var c;

And the following configuration:

[a.js]
files[] = test/a.js

[b.js]
extend = a.js
files[] = test/b.js

[c.js]
extend = b.js
files[] = test/c.js

Then the result when viewing c.js is:

var a;
var a;
var b;
var c;

where a.js is being reproduced twice. I would expect the result to be:

var a;
var b;
var c;

Is there some way to achieve the desired result outside of explicitly defining everything beyond a first-level extension, or is this a bug/transitive extensions not supported?

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