Windwalker
Windwalker

Reputation: 1945

Differences in Semantic UI Build

my colleague and me are currently experiencing differences in the compiled Semantic UI files, generated on our machines, though we are based on the same sUI version.

We updated all node plugins by running npm update within /node_modules/semantic-ui/, so we think we share the same prerequisites.

Still the builds we produce, differ a bit:

Build deltas

Can someone please give us some hint, where these differences might be resulting from?

Upvotes: 0

Views: 73

Answers (1)

Yanick Rochon
Yanick Rochon

Reputation: 53536

As far as I can tell, Sementic UI's Gulp tasks go through a LESS converter which, in turn, uses autoprefixer which transforms CSS rules depending on the available browsers. Since you both have different OSes, it is possible that a different value is returned from browserlist.

If there are other projects requiring the same dependencies, it may be possible that some packages satisfy the semver constraints and are not really updated since they are considered compatible. You may try and check these by globally installing npm-check-updates (or ncu) and run it against Sementic UI's installation.

That being said, it is hard to actually pinpoint the exact problem without more information. But I am fairly certain that this may be the case here.

Upvotes: 1

Related Questions