Skip to content

fix(v2): fix LTR PostCSS bug on Netlify and monorepo symlinks#4254

Merged
slorber merged 1 commit intomasterfrom
slorber/fix-infima-ltr-path
Feb 19, 2021
Merged

fix(v2): fix LTR PostCSS bug on Netlify and monorepo symlinks#4254
slorber merged 1 commit intomasterfrom
slorber/fix-infima-ltr-path

Conversation

@slorber
Copy link
Copy Markdown
Collaborator

@slorber slorber commented Feb 19, 2021

Motivation

infima/packages/core/dist/css/default/default-rtl.css is not a "reliable" path to check for the Infima CSS bundle.

On Infima repo, it broke because Netlify fetches the Infima repo as repo (ie not infima) and the CSS file is at /opt/build/repo/packages/core/dist/css/default/default-rtl.css

This broke the RTL support on Infima website deploy preview: facebookincubator/infima#84

The current method will be more reliable, as we are now comparing strictly 2 absolute file paths.

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Feb 19, 2021
@slorber slorber requested a review from lex111 as a code owner February 19, 2021 16:05
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Feb 19, 2021
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 19, 2021

[V1] Deploy preview success

Built with commit e1d0eb5

https://deploy-preview-4254--docusaurus-1.netlify.app

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 19, 2021

Deploy preview for docusaurus-2 ready!

Built with commit e1d0eb5

https://deploy-preview-4254--docusaurus-2.netlify.app

@github-actions
Copy link
Copy Markdown

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟢 Performance 95
🟢 Accessibility 96
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-4254--docusaurus-2.netlify.app/classic/

@github-actions
Copy link
Copy Markdown

Size Change: 0 B

Total Size: 555 kB

ℹ️ View Unchanged
Filename Size Change
website/build/assets/css/styles.********.css 86.6 kB 0 B
website/build/assets/js/main.********.js 382 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 60.7 kB 0 B
website/build/docs/introduction/index.html 235 B 0 B
website/build/index.html 25.8 kB 0 B

compressed-size-action

@slorber slorber merged commit a58baac into master Feb 19, 2021
@lex111 lex111 added this to the v2.0.0-alpha.71 milestone Mar 1, 2021
@slorber slorber deleted the slorber/fix-infima-ltr-path branch August 17, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants