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

Improve Tailwind/PostCSS error message #7041

Closed
bep opened this issue Mar 10, 2020 · 0 comments
Closed

Improve Tailwind/PostCSS error message #7041

bep opened this issue Mar 10, 2020 · 0 comments
Labels
Milestone

Comments

@bep
Copy link
Member

@bep bep commented Mar 10, 2020

  149 | 
  150 | header {
> 151 |   @apply border-t-gray;
      |   ^
  152 |   grid-column: 1 / 3;
  153 |   text-align: center;
  • The line number above does not match if I have an import.
  • It would also bee good if I could get some file context in the console
  • I assume I can get to line 151 if I traced back the imports?

Not sure how this works with something like postcss-import?

@bep bep added this to the v0.68 milestone Mar 10, 2020
@bep bep removed the Proposal label Mar 10, 2020
bep added a commit to bep/hugo that referenced this issue Mar 10, 2020
bep added a commit to bep/hugo that referenced this issue Mar 11, 2020
@bep bep closed this in df29855 Mar 11, 2020
@fmotrifork fmotrifork mentioned this issue Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.