Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable/use sourcemap generation from PostCSS (editor styles post-processing) #58499

Open
strarsis opened this issue Jan 31, 2024 · 0 comments
Open
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Enhancement A suggestion for improvement.

Comments

@strarsis
Copy link
Contributor

strarsis commented Jan 31, 2024

What problem does this address?

Currently the added, post-processed (as for editor styles wrapper isolation) editor-styles are not source-mapped.
Inspecting the added editor styles in editor does not directly show the original styles (e.g. from frontend stylesheet).

What is your proposed solution?

Enable and use the sourcemap feature of PostCSS so that editor styles can be resolved to the original stylesheet.
As PostCSS is used for post-processing the editor styles and already supports source-maps,
this should be easy to implement.

@strarsis strarsis added the [Type] Enhancement A suggestion for improvement. label Jan 31, 2024
@jordesign jordesign added the Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants