Skip to content

No sourcemaps for component styles (inline) #7218

Closed

Description

@MickL

Bug Report or Feature Request (mark with an x)

- [X] bug report
- [ ] feature request

Versions.

v1.3.0-rc.3

Repro steps.

Add a style to app.component.scss. E.g. h1 { color: red; }. Compile (ng start / build) with --sourcemap true.

The styles will have no sourcemaps:

<style>h1[_ngcontent-c0] {
  color: red; }</style>

Desired functionality.

--sourcemap true should generate sourcemaps for component's styles, too.

Activity

  1. filipesilva commented on Aug 2, 2017

    @filipesilva
    Contributor

    This is actually something that needs to be implemented in Angular itself. See angular/angular#14175 for more information.

  2. MickL commented on Aug 2, 2017

    @MickL
    Author

    Closed 6 month ago but not in any release? :(

  3. filipesilva commented on Aug 2, 2017

    @filipesilva
    Contributor

    Check the last comment in that issue: angular/angular#14175 (comment)

  4. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  5. locked and limited conversation to collaborators on Sep 7, 2019
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