1
- # browserify-css [ ![ build status] ( https://travis-ci.org/cheton/browserify-css.svg?branch=master )] ( https://travis-ci.org/cheton/browserify-css ) [ ![ Coverage Status] ( https://coveralls.io/repos/cheton/browserify-css/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/cheton/browserify-css?branch=master )
1
+ # browserify-css an amazing node package [ ![ build status] ( https://travis-ci.org/cheton/browserify-css.svg?branch=master )] ( https://travis-ci.org/cheton/browserify-css ) [ ![ Coverage Status] ( https://coveralls.io/repos/cheton/browserify-css/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/cheton/browserify-css?branch=master )
2
2
3
3
[ ![ NPM] ( https://nodei.co/npm/browserify-css.png?downloads=true&stars=true )] ( https://www.npmjs.com/package/browserify-css )
4
4
@@ -44,9 +44,9 @@ Each `require('./path/to/file.css')` call will concatenate CSS files with @impor
44
44
</html >
45
45
```
46
46
47
- ## Configuration
47
+ ## Configuration setting
48
48
49
- You can set configuration to your package.json file:
49
+ You can set configuration to your package.json file as follows :
50
50
``` json
51
51
{
52
52
"browserify-css ": {
@@ -57,7 +57,7 @@ You can set configuration to your package.json file:
57
57
}
58
58
```
59
59
60
- or use an external configuration file like below:
60
+ or use an external configuration file like given below:
61
61
``` json
62
62
{
63
63
"browserify-css ": " ./config/browserify-css.js"
@@ -284,7 +284,7 @@ Strip comments from CSS. Defaults to false.
284
284
285
285
## FAQ
286
286
### 1. How do I include CSS files located inside the node_modules folder?
287
- You can choose one of the following methods to include CSS files located inside the node_modules folder:
287
+ You can browse one of the following methods to include CSS files located inside the node_modules folder:
288
288
289
289
1. The easiest way to do this is using the `@import` rule. For example:
290
290
@@ -302,7 +302,7 @@ You can choose one of the following methods to include CSS files located inside
302
302
@import " styles/common.css" ;
303
303
```
304
304
305
- 2. Use the global transform option (i .e . `--global-transform` or `-g`) on the command line to transform all files in a node_modules directory:
305
+ 2. Using the global transform option (i .e . `--global-transform` or `-g`) on the command line to transform all files in a node_modules directory:
306
306
307
307
``` bash
308
308
$ browserify -g browserify-css app.js > bundle.js
@@ -341,7 +341,7 @@ You can choose one of the following methods to include CSS files located inside
341
341
342
342
### 2. How do I load font and image files from node_modules?
343
343
344
- Assume that you have the following directory structure:
344
+ Lets assume that you have the following directory structure:
345
345
``` bash
346
346
package.json
347
347
dist/
0 commit comments