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

fix: source map generation (following #150) #161

Merged
merged 2 commits into from
Jul 12, 2021
Merged

fix: source map generation (following #150) #161

merged 2 commits into from
Jul 12, 2021

Conversation

anthochamp
Copy link
Contributor

Which issue #

Sourcemap generation when used with postcss-less doesnt work (probably since the update to postcss 8).

Issues is related to AST locations. It translates into silent errors (wrong source mapping) in most cases, except when used to transpile inline comments ending with a ";" (as seen in the added test). In that last case transpilation throws an error.

Please check one:

  • New tests created for this change
  • Tests updated for this change

This PR:

  • Adds new API
  • Extends existing API, backwards-compatible
  • Introduces a breaking change
  • Fixes a bug

@shellscape
Copy link
Owner

thanks!

@shellscape shellscape merged commit b6fd291 into shellscape:master Jul 12, 2021
@anthochamp anthochamp deleted the fix-source-map branch July 29, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants