isostyle
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