Skip to content

Emit external component styles sourcemap when optimization is enabled #24049

@alan-agius4

Description

@alan-agius4

Command

build

Description

Currently, when optimization is enabled, components sourcemaps are always disabled.

Describe the solution you'd like

This is a request to add support for CSS sourcemaps for components when optimization is enabled which can be done by instead of inline sourcemaps as base64 in the JS file we emit the sourcemap as an external file.

This does come with the drawback that a lot of .map files will be emitted. (1 per component stylesheet)

More context: #22834

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