All Projects → less → less-plugin-inline-urls

less / less-plugin-inline-urls

Licence: Apache-2.0 license
No description or website provided.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to less-plugin-inline-urls

less-plugin-functions
Write custom Less functions in Less itself
Stars: ✭ 111 (+593.75%)
Mutual labels:  less-plugin

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).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].