isostyle

0.2.0 • Public • Published

isostyle Build Status

Browserify transform that allows you to require CSS and LESS files. When you require a StyleSheet, isostyle will automatically append it to the head of the document with a unique identifier (data-isostyle-id).

An example application using isostyle is Instagram.

Installation

$ npm install isostyle

Usage

require('stylesheet.less');
require('stylesheet.css');

Compile with browserify using -t isostyle:

$ browserify -t isostyle main.js > bundle.js

Package Sidebar

Install

npm i isostyle

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • test
  • underc0de