Novelty Polygonal Mathematics
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    less-plugin-inline-urlspublic

    NPM version Dependencies devDependency Status optionalDependency Status

    less-plugin-inline-urls

    Converts url("image.png") to data-uri's automatically, without having to write data-uri("image.png") in your less

    lessc usage

    npm install -g less-plugin-inline-urls
    

    and then on the command line,

    lessc file.less --inline-urls
    

    Programmatic usage

    var inline-urls-plugin = require('less-plugin-inline-urls');
    less.render(lessString, { plugins: [inline-urls-plugin] })
      .then(
    

    Browser usage

    Browser usage is not supported at this time and is blocked on data-uri which does not work in the browser (not sure why you would want it to).

    install

    npm i less-plugin-inline-urls

    Downloadsweekly downloads

    277

    version

    1.2.0

    license

    none

    homepage

    lesscss.org

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar