ViRuSTriNiTy
ViRuSTriNiTy

Reputation: 5155

How to generate a source map for minified CSS generated by dotless

I'm using dotless to generate a minified CSS file via pre-build task.

Now i wonder how to create an appropriate .css.map file for that minified CSS file. Any ideas?

Upvotes: 2

Views: 7549

Answers (1)

Stewartside
Stewartside

Reputation: 20905

Dotless doesn't currently have support for generating map files. See Here

.map files are usually generated on the creation of the minified file due to having to match up perfectly.

Your best option for generating a .map file would be to compile whatever CSS you have in the normal less compiler and copy it across to your project.

Less Command Line: Documenation

The above documenation shows about command line usage and also, if you scroll down to the options it will give you information regarding source maps etc.

Upvotes: 4

Related Questions