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(design): Remove autoprefixer comment for webpack v5 #2132

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

timkooi-jobber
Copy link
Contributor

Motivations

Upgrading to Webpack v5, we were getting a warning that the second autoprefixer comment was being ignored. This would cause an overlay of the warning on the Jobber application.

Changes

  • Remove the 2nd autoprefixer comment

Copy link

cloudflare-workers-and-pages bot commented Nov 18, 2024

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7584b73
Status: ✅  Deploy successful!
Preview URL: https://903be518.atlantis.pages.dev
Branch Preview URL: https://cleanup-autoprefixer-warning.atlantis.pages.dev

View logs

@@ -7,7 +7,6 @@
}

/* Safari doesn't support scrollbar-color yet, so we're using the non-standard selector for now. */
/* autoprefixer: off */
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @timkooi-jobber, thanks for looking into this!

I just tested this locally and found that removing both comments seems to work fine. I realized we used to need this comment due to us checking @supports with ::-webkit-scrollbar which is why our (atlantis) postcss was erroring before... but that's no longer the case as of 2 weeks ago.

Once you remove the second comment, we can build a pre-release of the design package for you to test in JO with your webpacker upgrade, to confirm it's working.

@jdeichert jdeichert changed the title CLEANUP Remove autoprefixer comment for webpack v5 fix(design): Remove autoprefixer comment for webpack v5 Nov 19, 2024
Copy link
Contributor

@jdeichert jdeichert left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link

Published Pre-release for 7584b73 with versions:

  - @jobber/[email protected]+7584b733
  - @jobber/[email protected]+7584b733

To install the new version(s) for Web run:

npm install @jobber/[email protected]+7584b733

To install the new version(s) for Mobile run:

npm install @jobber/[email protected]+7584b733

@jdeichert jdeichert merged commit eaf1dd0 into master Nov 28, 2024
15 checks passed
@jdeichert jdeichert deleted the CLEANUP-autoprefixer-warning branch November 28, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants