Does grunt-contrib-less support --source-map-map-inline?

前端 未结 1 1410
抹茶落季
抹茶落季 2021-01-26 11:44

Title says it all. Is this Less option:

http://lesscss.org/usage/#command-line-usage-source-map-map-inline

Available via grunt-contrib-less, or some other plugin

相关标签:
1条回答
  • 2021-01-26 12:12

    It sure does, here's a stripped down config of what I use:

        less: {
            options: {
                sourceMap:true,
                outputSourceFiles: true
            },
            lessFiles: {
                src: [
                    '*.less'
                ],
                ext: '.css',
                cleancss:true
            }
        },
    
    0 讨论(0)
提交回复
热议问题