Skip to content

Do not exclude .ts files in npm package or fix sourcemaps #21

Closed
@JohannesRudolph

Description

@JohannesRudolph

Excluding the .ts (not d.ts) files from the npm package appears to create problems for builds because the sourcemaps included with the package refer to them.

Can you either include ts source files or change the generated sourcemaps? I think including the .ts source doesn't do too much harm as the project is fairly small, angular itself however chose to use smaller (i.e. useless) sourcemaps that point to the d.ts files.

See also:
angular/angular-cli#2364 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions