@@ -36,9 +36,9 @@ const tree = html`
3636document .body .appendChild (tree)
3737```
3838
39- Compile with browserify using ` -t sheetify/transform ` :
39+ Compile with browserify using ` -t sheetify ` :
4040``` sh
41- $ browserify -t sheetify/transform index.js > bundle.js
41+ $ browserify -t sheetify index.js > bundle.js
4242```
4343
4444CSS classes are namespaced based on the content hash:
@@ -133,7 +133,7 @@ To write the compiled CSS to a separate file, rather than keep it in the
133133bundle use [ css-extract] [ 2 ] :
134134``` sh
135135$ browserify index.js \
136- -t [ sheetify/transform ] \
136+ -t [ sheetify ] \
137137 -p [ css-extract -o bundle.css ] index.js \
138138 -o bundle.js
139139```
@@ -164,9 +164,9 @@ const tree = html`
164164document .body .appendChild (tree)
165165```
166166
167- Compile with browserify using ` -t [ sheetify/transform -u sheetify-cssnext ] ` :
167+ Compile with browserify using ` -t [ sheetify -u sheetify-cssnext ] ` :
168168``` sh
169- $ browserify -t [ sheetify/transform -u sheetify-cssnext ] index.js > bundle.js
169+ $ browserify -t [ sheetify -u sheetify-cssnext ] index.js > bundle.js
170170```
171171
172172Transforms the CSS into:
@@ -185,7 +185,7 @@ The following plugins are available:
185185Browserify transforms accept either flags from the command line using
186186[ subargs] ( https://github.com/substack/subarg ) :
187187``` sh
188- $ browserify -t [ sheetify/transform -u sheetify-cssnext ] index.js > bundle.js
188+ $ browserify -t [ sheetify -u sheetify-cssnext ] index.js > bundle.js
189189```
190190
191191Or the equivalent options by passing in a configuration object in the
@@ -194,7 +194,7 @@ JavaScript API:
194194const browserify = require (' browserify' )
195195
196196const b = browserify (path .join (__dirname , ' transform/source.js' ))
197- b .transform (' sheetify/transform ' , { use: [ ' sheetify-cssnext' ] })
197+ b .transform (' sheetify' , { use: [ ' sheetify-cssnext' ] })
198198b .bundle ().pipe (process .stdout )
199199```
200200
0 commit comments