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.

Preserve license comments #329

Open
Open
@guybedford

Description

@guybedford

We can read this out of the original sources in the compilers at https://github.com/systemjs/builder/tree/master/compilers from the load.source value. It can then be included in the bundle output.

The above would work but wouldn't hoist all the license comments to the top. If hoisting of license comments is preferable, we could handle the reading of license comments reading from tree[name].source just before https://github.com/systemjs/builder/blob/master/lib/compile.js#L152, maintaining the license comments as its own array before injection at the end.

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