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(ui): make a more deterministic build #15820

Merged
merged 3 commits into from
Nov 11, 2019
Merged

Conversation

drdelambre
Copy link
Contributor

@drdelambre drdelambre commented Nov 8, 2019

Closes #15842
Closes influxdata/clockface#362

we saw some weirdness where css inclusion order was changed when building in production mode. this was the result of some drift between our dev and production environments (specifically the use of MiniCssExtract). I went ahead and dragged as much into the common webpack as made sense to hopefully make our build process feel a bit more deterministic.

the second commit is me fixing the error that used to only show up in production, but now should show up everywhere (cause same same, but different)

Copy link
Contributor

@alexpaxton alexpaxton 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

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

.getting-started--card {
position: absolute;
Copy link
Contributor

Choose a reason for hiding this comment

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

Does removing this not break anything visually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i have no idea as these classes aren't scoped, was leaning on you for that 😬

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this line WAS getting overwritten on your branch in dev mode, but when production flipped the css rule order, this is what made the giant page thing

@drdelambre drdelambre merged commit a1cecbf into master Nov 11, 2019
@drdelambre drdelambre deleted the alex_hotfix_webpack branch November 11, 2019 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants