JS-JMS-WEB
JS-JMS-WEB

Reputation: 2625

Why bootstrap is pointing to .less files?

I have installed css only bootstap CSS using bower. On closer inspection I found out that is is somehow using .less file which doesn't exist on my machine. This is not making any sense to me. I'll appreciate if someone can shed some light on this.

enter image description here

enter image description here

Upvotes: 0

Views: 55

Answers (1)

iurii
iurii

Reputation: 4230

That happens because bootstrap.css has

/*# sourceMappingURL=bootstrap.css.map */

at the end of the file.

bootstrap.css is the result of combined .less files so in order to easier debug the bootstrap, you can have an idea where some classes come from.

If you remove sourceMappingURL from bootstrap.css, you won't see any .less files in dev console.

Upvotes: 2

Related Questions