Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 578 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 578 Bytes

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

Installation

$ npm i --save isostyle

Usage

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

Compile with browserify using -t isostyle:

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