Giter Club home page Giter Club logo

grunt-less-imports's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grunt-less-imports's Issues

dest file is empty after a successful task run

My dest file isn't being populated with the files from the src, even though it finishes with 'Done, without errors'.

Here's my task

less_imports: {
    options: {
        inlineCSS: false // default: true
    },
    files: {
        'core/less/theme.less': ['core/less/theme/**/*.less']
    }
}

No "path.posix" in node v0.10.x

Hi, after the latest update our build is broken under node.js v0.10.x since you start using "path.posix" which is not available in node v0.10.

The "engines.node" in package.json should be updated to ">= 0.12.0".

Incorrect delimiter for imports in sub-directories

When collecting LESS files from sub-directories, backslashes are used as path delimiter (at least on Windows). Example output:

@import (once) "sub\b.less";

While LESS itself doesn't seem to care, this does not conform to the CSS specification and causes some other tools to interpret the backslash as escape character instead of a URI delimiter. A forward slash "/" should be generated on all platforms, including Windows.

References:

  1. http://www.w3.org/TR/css3-cascade/#at-ruledef-import
  2. http://www.w3.org/TR/css3-values/#url-value
  3. http://www.ietf.org/rfc/rfc3986

Add banner to generated less file

This is a suggestion.

Since this file is tool-generated, I'd like to have a banner automatically added indicating so. I know I can use grunt-banner or other tools to accomplish this, but I think this might be nice to have out of the box.

I don't think it needs to be anything fancy, just some text stating This file was generated by grunt-less-imports.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.