Skip to content

Grunt Less task breaks on compiling sprites.less generated from grunt-spritesmith #350

@vehdad

Description

@vehdad

Sorry for opening issue but I am stuck with old app running number of grunt tasks, among others grunt-contrib-less for less files and grunt-spritesmith for building sprites.

After updating to the less 3.0.0 I updated to the grunt-contrib-less: 2.0.0 and spritesmith accordingly to the 6+ version.

When I run less task it breaks on sprites.less on line:
@spritesheet: 576px 576px '../../img/icons.png' @spritesheet-sprites;
with an error
[L472:C0] Cannot read property 'eval' of null

Running "less:dev" (less) task

src\assets\style\cando-ui\sprites.less: [L472:C0] Cannot read property 'eval' of null
Warning: Error compiling src/assets/style/style.less Use --force to continue.

All dependencies are met..

-- [email protected]
-- [email protected]
-- [email protected]
-- [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions