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

Refactor to silence PostCSS stderr warning #7603

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Mouvedia
Copy link
Member

Which issue, if any, is this issue related to?

relates to #7518

Is there anything in the PR that needs further explanation?

  console.warn
    Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.

      at warnOnce (node_modules/postcss/lib/warn-once.js:11:13)
      at NoWorkResult.then (node_modules/postcss/lib/no-work-result.js:67:9)

Copy link

changeset-bot bot commented Apr 10, 2024

⚠️ No Changeset found

Latest commit: 90e197c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Mouvedia Mouvedia changed the title parseSelectorAST.test.mjs | silence PostCSS stderr warning silence PostCSS stderr warning Apr 10, 2024
@Mouvedia Mouvedia changed the title silence PostCSS stderr warning Refactor to silence PostCSS stderr warning Apr 10, 2024
Copy link
Member

@romainmenke romainmenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you for this 🙇

Copy link
Member

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👍🏼

@ybiquitous ybiquitous merged commit a5d0cf8 into stylelint:main Apr 11, 2024
16 checks passed
emmacharp pushed a commit to emmacharp/stylelint that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants